Fix kubelet_kubelet_cgroups_cgroupfs (#8500)
If kubelet is run with systemd (as it always is when using kubespray), it starts in systemd's /system.slice/kubelet.service cgroup. This commit prevents a creation and usage of a second unrelated cgroup.
This commit is contained in:
parent
eac799f589
commit
aed187e56c
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ kubelet_kubelet_cgroups: "/systemd/system.slice"
|
|||
|
||||
# Set runtime and kubelet cgroups when using cgroupfs as cgroup driver
|
||||
kubelet_runtime_cgroups_cgroupfs: "/system.slice/containerd.service"
|
||||
kubelet_kubelet_cgroups_cgroupfs: "/system.slice/kubelet.slice"
|
||||
kubelet_kubelet_cgroups_cgroupfs: "/system.slice/kubelet.service"
|
||||
|
||||
### fail with swap on (default true)
|
||||
kubelet_fail_swap_on: true
|
||||
|
|
Loading…
Reference in a new issue