2019-06-30 05:09:20 +08:00
|
|
|
---
|
2021-05-19 23:24:53 +08:00
|
|
|
containerd_storage_dir: "/var/lib/containerd"
|
|
|
|
containerd_state_dir: "/run/containerd"
|
2021-10-20 23:47:58 +08:00
|
|
|
containerd_systemd_dir: "/etc/systemd/system/containerd.service.d"
|
2021-05-19 23:24:53 +08:00
|
|
|
containerd_oom_score: 0
|
2021-04-02 14:20:11 +08:00
|
|
|
|
|
|
|
containerd_default_runtime: "runc"
|
|
|
|
# containerd_snapshotter: "native"
|
|
|
|
|
2021-11-05 22:59:54 +08:00
|
|
|
containerd_runc_runtime:
|
|
|
|
name: runc
|
|
|
|
type: "io.containerd.runc.v2"
|
|
|
|
engine: ""
|
|
|
|
root: ""
|
|
|
|
options:
|
2021-11-20 00:40:53 +08:00
|
|
|
systemdCgroup: "{{ containerd_use_systemd_cgroup | ternary('true', 'false') }}"
|
2021-11-05 22:59:54 +08:00
|
|
|
|
|
|
|
containerd_additional_runtimes: []
|
2021-04-02 14:20:11 +08:00
|
|
|
# Example for Kata Containers as additional runtime:
|
|
|
|
# - name: kata
|
|
|
|
# type: "io.containerd.kata.v2"
|
|
|
|
# engine: ""
|
|
|
|
# root: ""
|
|
|
|
|
|
|
|
containerd_grpc_max_recv_message_size: 16777216
|
|
|
|
containerd_grpc_max_send_message_size: 16777216
|
|
|
|
|
|
|
|
containerd_debug_level: "info"
|
|
|
|
|
|
|
|
containerd_metrics_address: ""
|
|
|
|
|
|
|
|
containerd_metrics_grpc_histogram: false
|
|
|
|
|
|
|
|
containerd_registries:
|
|
|
|
"docker.io": "https://registry-1.docker.io"
|
|
|
|
|
|
|
|
containerd_max_container_log_line_size: -1
|
2019-07-11 14:46:54 +08:00
|
|
|
|
|
|
|
containerd_cfg_dir: /etc/containerd
|
|
|
|
|
2021-04-12 16:02:00 +08:00
|
|
|
# Extra config to be put in {{ containerd_cfg_dir }}/config.toml literally
|
|
|
|
containerd_extra_args: ''
|
2021-08-23 21:40:00 +08:00
|
|
|
|
|
|
|
# Configure registry auth (if applicable to secure/insecure registries)
|
|
|
|
containerd_registry_auth: []
|
|
|
|
# - registry: 10.0.0.2:5000
|
|
|
|
# username: user
|
|
|
|
# password: pass
|