mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-17 11:10:09 -03:30
Ability to define plugins.cri.containerd params (#5624)
* Ability to define plugins.cri.containerd params * addition of containerd field commented as an example * documentation of containerd_config
This commit is contained in:
@@ -8,6 +8,8 @@ containerd_config:
|
||||
registries:
|
||||
"docker.io": "https://registry-1.docker.io"
|
||||
max_container_log_line_size: -1
|
||||
# containerd:
|
||||
# snapshotter: native
|
||||
|
||||
containerd_version: '1.2.10'
|
||||
containerd_package: 'containerd.io'
|
||||
|
||||
@@ -25,6 +25,12 @@ disabled_plugins = ["restart"]
|
||||
conf_dir = "/etc/cni/net.d"
|
||||
conf_template = ""
|
||||
|
||||
{% if 'containerd' in containerd_config %}
|
||||
[plugins.cri.containerd]
|
||||
{% for param, value in containerd_config.containerd.items() %}
|
||||
{{ param }} = {{ value }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
[plugins.cri.containerd.untrusted_workload_runtime]
|
||||
runtime_type = ""
|
||||
runtime_engine = ""
|
||||
|
||||
Reference in New Issue
Block a user