You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cgroup driver setup fails: failed to run Kubelet: misconfiguration: kubelet cgroup driver: \"cgroupfs\" is different from docker cgroup driver: \"systemd\"
#5738
Closed
1 task
ysicing opened this issue
Jun 17, 2022
· 2 comments
"Failed to run kubelet" err="failed to run Kubelet: misconfiguration: kubelet cgroup driver: \"cgroupfs\" is different from docker cgroup driver: \"systemd\""
Additional context / logs:
Backporting
Needs backporting to older releases
The text was updated successfully, but these errors were encountered:
If you manually change the cgroup driver for docker to systemd, you should change it for the kubelet too, with --kubelet-arg=cgroup-driver=systemd. K3s only manages the driver when using the packaged containerd.
You should be aware that dockershim is gone as of 1.24; k3s will no longer support the --docker flag.
Environmental Info:
k3s version v1.23.7+k3s1 (ec61c66)
go version go1.17.5
Node(s) CPU architecture, OS, and Version:
Linux k3s01 5.17.0-3-amd64 #1 SMP PREEMPT Debian 5.17.11-1 (2022-05-26) x86_64 GNU/Linux
Cluster Configuration:
1 server
Describe the bug:
K3s now uses the systemd cgroup driver instead of cgroupfs when running under systemd 244 or later. #5462
Steps To Reproduce:
Expected behavior:
K3S should start.
Actual behavior:
Additional context / logs:
Backporting
The text was updated successfully, but these errors were encountered: