error failed to run Kubelet failed to create kubelet misconfiguration kubelet cgroup driver systemd is different from docker cgroup driver cgroupfs

0 votes

Hi Guys,

I am trying to initialize Kubernetes Cluster using the kubeadm init command, but it is showing me the below error.

error: failed to run Kubelet: failed to create kubelet:
misconfiguration: kubelet cgroup driver: "systemd" is different from docker cgroup driver: "cgroupfs"
Jul 15, 2020 in Kubernetes by akhtar
• 38,180 points
1,113 views

1 answer to this question.

0 votes

Hi@akhtar,

There are two common ways to fix the cgroup driver problem. You can follow the below steps.

  1. Install Docker again following instructions here.

  2. Change the kubelet config to match the Docker cgroup driver manually, you can refer to Configure cgroup driver used by kubelet on Master Node

I hope this will help.

answered Jul 15, 2020 by MD
• 95,140 points

Related Questions In Kubernetes

0 votes
1 answer

Unable to get cgroup stats for docker and kubelet services

Try and start kubelet with the following ...READ MORE

answered Sep 3, 2018 in Kubernetes by DareDev
• 6,890 points
1,627 views
+1 vote
1 answer
0 votes
1 answer

Error: UPGRADE FAILED: failed to create resource: namespaces "pr-1627-app " not found

Hi@akhtar, This usually happens when the state of ...READ MORE

answered Jul 9, 2020 in Kubernetes by MD
• 95,140 points
212 views
+1 vote
1 answer
0 votes
3 answers

Error while joining cluster with node

Hi Kalgi after following above steps it ...READ MORE

answered Jan 17, 2019 in Others by anonymous
10,232 views
+4 votes
1 answer

Installing Web UI (Dashboard):kubernetes-dashboard on main Ubuntu 16.04.6 LTS (Xenial Xerus) server

Follow these steps: $ kubeadm reset $ kubeadm init ...READ MORE

answered Apr 11, 2019 in Kubernetes by Kalgi
• 52,310 points

reshown Apr 12, 2019 by Kalgi 3,161 views
0 votes
1 answer
0 votes
1 answer