Hey all, When im executing `sudo kubeadm init --pod-network-cidr 10.244.0.0/16 - . . .

Nave Peleg:
Hey all,
When im executing sudo kubeadm init --pod-network-cidr 10.244.0.0/16 --apiserver-advertise-address=192.168.56.2
im facing this issue It seems like the kubelet isn't running or healthy. [kubelet-check] The HTTP call equal to 'curl -sSL <http://localhost:10248/healthz>' failed with error: Get "<http://localhost:10248/healthz>": dial tcp 127.0.0.1:10248: connect: connection refused.

i’ve tried this solution as well

sudo swapoff -a
sudo sed -i '/ swap / s/^/#/' /etc/fstab

But no luck either…

Thank you in advance :pray:

Mohamed Ayman:
Hello @Nave Peleg
Please try the following commands and try again.

echo '{
  "exec-opts": ["native.cgroupdriver=systemd"]
}' &gt; /etc/docker/daemon.json

sudo systemctl daemon-reload
sudo systemctl restart docker
sudo systemctl restart kubelet

Nave Peleg:
hey @Mohamed Ayman thanks, but got the same result

Mohamed Ayman:
Hello @Nave Peleg
What’s the status of kubelet? systemctl status kubelet

Nave Peleg:
thx @Mohamed Ayman i managed to tackle this one,
i needed to reconfigure the containerd runtime as CRI

unnivkn:
Hi @Nave Peleg it’s nice that you have resolved the issue, however this doc may help further: https://computingforgeeks.com/deploy-kubernetes-cluster-on-ubuntu-with-kubeadm/

Nave Peleg:
thanks that looks good