mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-06 18:17:47 +03:00
[containerd] Support containerd v2.0.x (#11845)
This commit is contained in:
committed by
GitHub
parent
4373c1be1d
commit
624937d137
@@ -1,4 +1,10 @@
|
||||
{% if containerd_version is version('2.0.0', '>=') %}
|
||||
version = 3
|
||||
{% else %}
|
||||
version = 2
|
||||
{% endif %}
|
||||
|
||||
|
||||
root = "{{ containerd_storage_dir }}"
|
||||
state = "{{ containerd_state_dir }}"
|
||||
oom_score = {{ containerd_oom_score }}
|
||||
|
||||
Reference in New Issue
Block a user