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 16, 2020 in Kubernetes by akhtar
• 38,260 points
8,226 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 16, 2020 by MD
• 95,460 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
5,141 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,460 points
3,505 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
15,572 views
0 votes
1 answer

permissions related to AWS ECR

if you add allowContainerRegistry: true, kops will add those permissions ...READ MORE

answered Oct 9, 2018 in Kubernetes by Kalgi
• 52,350 points
1,427 views
0 votes
1 answer
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP