2020-03-05 06:46:38 +08:00
|
|
|
---
|
|
|
|
# Please see roles/container-engine/containerd/defaults/main.yml for more configuration options
|
|
|
|
|
2021-05-19 23:24:53 +08:00
|
|
|
# containerd_storage_dir: "/var/lib/containerd"
|
|
|
|
# containerd_state_dir: "/run/containerd"
|
|
|
|
# containerd_oom_score: 0
|
|
|
|
|
2021-04-02 14:20:11 +08:00
|
|
|
# containerd_default_runtime: "runc"
|
|
|
|
# containerd_snapshotter: "native"
|
|
|
|
|
|
|
|
# containerd_runtimes:
|
|
|
|
# - name: runc
|
|
|
|
# type: "io.containerd.runc.v2"
|
|
|
|
# engine: ""
|
|
|
|
# root: ""
|
|
|
|
# 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
|
|
|
|
|
2021-12-13 16:41:58 +08:00
|
|
|
## An obvious use case is allowing insecure-registry access to self hosted registries.
|
|
|
|
## Can be ipaddress and domain_name.
|
|
|
|
## example define mirror.registry.io or 172.19.16.11:5000
|
|
|
|
## Port number is also needed if the default HTTPS port is not used.
|
|
|
|
# containerd_insecure_registries:
|
|
|
|
# - mirror.registry.io
|
|
|
|
# - 172.19.16.11:5000
|
|
|
|
|
2021-04-02 14:20:11 +08:00
|
|
|
# containerd_registries:
|
|
|
|
# "docker.io": "https://registry-1.docker.io"
|
|
|
|
|
|
|
|
# containerd_max_container_log_line_size: -1
|
2021-08-23 21:40:00 +08:00
|
|
|
|
|
|
|
# containerd_registry_auth:
|
|
|
|
# - registry: 10.0.0.2:5000
|
|
|
|
# username: user
|
|
|
|
# password: pass
|