kubeadm-scripts icon indicating copy to clipboard operation
kubeadm-scripts copied to clipboard

The kubelet is unhealthy due to a misconfiguration of the node in some way (required cgroups disabled)

Open Nikhil007nsg opened this issue 11 months ago • 2 comments

i am using public ip for that

[kubelet-check] Initial timeout of 40s passed.

Unfortunately, an error has occurred: timed out waiting for the condition

This error is likely caused by: - The kubelet is not running - The kubelet is unhealthy due to a misconfiguration of the node in some way (required cgroups disabled)

If you are on a systemd-powered system, you can try to troubleshoot the error with the following commands: - 'systemctl status kubelet' - 'journalctl -xeu kubelet'

Additionally, a control plane component may have crashed or exited when started by the container runtime. To troubleshoot, list all containers using your preferred container runtimes CLI. Here is one example how you may list all running Kubernetes containers by using crictl: - 'crictl --runtime-endpoint unix:///var/run/crio/crio.sock ps -a | grep kube | grep -v pause' Once you have found the failing container, you can inspect its logs with: - 'crictl --runtime-endpoint unix:///var/run/crio/crio.sock logs CONTAINERID' error execution phase wait-control-plane: couldn't initialize a Kubernetes cluster To see the stack trace of this error execute with --v=5 or higher

Please provide solution how will solve this

Nikhil007nsg avatar Mar 14 '24 08:03 Nikhil007nsg

im also have the same problem, can someone help..

mpdafa avatar Mar 24 '24 06:03 mpdafa

Which command are you guys using for kubeadm initialization?

techiescamp avatar Apr 08 '24 10:04 techiescamp