Fix Kubelet and Containerd when using cgroupfs as cgroup driver (#8123)

This commit is contained in:
Pasquale Toscano
2021-11-05 15:59:54 +01:00
committed by GitHub
parent c94291558d
commit 6e5b9e0ebf
8 changed files with 57 additions and 12 deletions

View File

@@ -23,7 +23,7 @@ enforceNodeAllocatable:
{% endfor %}
{% endif %}
staticPodPath: {{ kube_manifest_dir }}
cgroupDriver: {{ kubelet_cgroup_driver|default(kubelet_cgroup_driver_detected) }}
cgroupDriver: {{ kubelet_cgroup_driver }}
containerLogMaxFiles: {{ kubelet_logfiles_max_nr }}
containerLogMaxSize: {{ kubelet_logfiles_max_size }}
maxPods: {{ kubelet_max_pods }}