mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-06 18:17:47 +03:00
Add variables to configure Containerd default runtime, untrusted runt… (#5497)
* Add variables to configure Containerd default runtime, untrusted runtime and additional runtimes * Add containerd settings to sample inventory * Empty commit
This commit is contained in:
@@ -31,10 +31,23 @@ disabled_plugins = ["restart"]
|
||||
{{ param }} = {{ value }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
[plugins.cri.containerd.default_runtime]
|
||||
runtime_type = "{{ containerd_default_runtime.type }}"
|
||||
runtime_engine = "{{ containerd_default_runtime.engine }}"
|
||||
runtime_root = "{{ containerd_default_runtime.root }}"
|
||||
|
||||
{% for runtime in containerd_runtimes %}
|
||||
[plugins.cri.containerd.runtimes.{{ runtime.name }}]
|
||||
runtime_type = "{{ runtime.type }}"
|
||||
runtime_engine = "{{ runtime.engine }}"
|
||||
runtime_root = "{{ runtime.root }}"
|
||||
{% endfor %}
|
||||
|
||||
[plugins.cri.containerd.untrusted_workload_runtime]
|
||||
runtime_type = ""
|
||||
runtime_engine = ""
|
||||
runtime_root = ""
|
||||
runtime_type = "{{ containerd_untrusted_runtime_type }}"
|
||||
runtime_engine = "{{ containerd_untrusted_runtime_engine }}"
|
||||
runtime_root = "{{ containerd_untrusted_runtime_root }}"
|
||||
|
||||
{% if 'registries' in containerd_config %}
|
||||
[plugins.cri.registry]
|
||||
|
||||
Reference in New Issue
Block a user