2020-03-04 22:46:38 +00:00
|
|
|
---
|
|
|
|
# Please see roles/container-engine/containerd/defaults/main.yml for more configuration options
|
|
|
|
|
2021-05-19 15:24:53 +00:00
|
|
|
# containerd_storage_dir: "/var/lib/containerd"
|
|
|
|
# containerd_state_dir: "/run/containerd"
|
|
|
|
# containerd_oom_score: 0
|
|
|
|
|
2021-04-02 06:20:11 +00:00
|
|
|
# containerd_default_runtime: "runc"
|
|
|
|
# containerd_snapshotter: "native"
|
|
|
|
|
2021-12-13 22:42:25 +00:00
|
|
|
# containerd_runc_runtime:
|
|
|
|
# name: runc
|
|
|
|
# type: "io.containerd.runc.v2"
|
|
|
|
# engine: ""
|
|
|
|
# root: ""
|
|
|
|
|
|
|
|
# containerd_additional_runtimes:
|
2021-04-02 06:20:11 +00: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
|
|
|
|
|
2021-12-13 08:41:58 +00: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
|
2022-01-05 10:56:33 +00:00
|
|
|
## set "name": "url". insecure url must be started http://
|
2021-12-13 08:41:58 +00:00
|
|
|
## Port number is also needed if the default HTTPS port is not used.
|
|
|
|
# containerd_insecure_registries:
|
2022-01-05 10:56:33 +00:00
|
|
|
# "localhost": "http://127.0.0.1"
|
|
|
|
# "172.19.16.11:5000": "http://172.19.16.11:5000"
|
2021-12-13 08:41:58 +00:00
|
|
|
|
2021-04-02 06:20:11 +00:00
|
|
|
# containerd_registries:
|
|
|
|
# "docker.io": "https://registry-1.docker.io"
|
|
|
|
|
|
|
|
# containerd_max_container_log_line_size: -1
|
2021-08-23 13:40:00 +00:00
|
|
|
|
|
|
|
# containerd_registry_auth:
|
|
|
|
# - registry: 10.0.0.2:5000
|
|
|
|
# username: user
|
|
|
|
# password: pass
|