Update config doc
Signed-off-by: Maksym Pavlenko <makpav@amazon.com>
This commit is contained in:
parent
19cd0a4f12
commit
ea6c749e35
@ -32,6 +32,14 @@ settings.
|
|||||||
**oom_score**
|
**oom_score**
|
||||||
: The out of memory (OOM) score applied to the containerd daemon process (Default: 0)
|
: The out of memory (OOM) score applied to the containerd daemon process (Default: 0)
|
||||||
|
|
||||||
|
**imports**
|
||||||
|
: Imports is a list of additional configuration files to include.
|
||||||
|
This allows to split the main configuration file and keep some sections
|
||||||
|
separately (for example vendors may keep a custom runtime configuration in a
|
||||||
|
separate file without modifying the main `config.toml`).
|
||||||
|
Imported files will overwrite simple fields like `int` or
|
||||||
|
`string` (if not empty) and will append `array` and `map` fields.
|
||||||
|
|
||||||
**[grpc]**
|
**[grpc]**
|
||||||
: Section for gRPC socket listener settings. Contains three properties:
|
: Section for gRPC socket listener settings. Contains three properties:
|
||||||
- **address** (Default: "/run/containerd/containerd.sock")
|
- **address** (Default: "/run/containerd/containerd.sock")
|
||||||
@ -82,6 +90,7 @@ The following is a complete **config.toml** default configuration example:
|
|||||||
root = "/var/lib/containerd"
|
root = "/var/lib/containerd"
|
||||||
state = "/run/containerd"
|
state = "/run/containerd"
|
||||||
oom_score = 0
|
oom_score = 0
|
||||||
|
imports = ["/etc/containerd/runtime_*.toml", "./debug.toml"]
|
||||||
|
|
||||||
[grpc]
|
[grpc]
|
||||||
address = "/run/containerd/containerd.sock"
|
address = "/run/containerd/containerd.sock"
|
||||||
|
Loading…
Reference in New Issue
Block a user