Skip to content
Snippets Groups Projects
Unverified Commit aed187e5 authored by Ilya Margolin's avatar Ilya Margolin Committed by GitHub
Browse files

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.
parent eac799f5
Branches
Tags
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment