kubernetes stopped working after host network IP change, then tried to re-initialize kubernetes but getting below error:
Error:
[wait-control-plane] Waiting for the kubelet to boot up the control plane as static Pods from directory "/etc/kubernetes/manifests". This can take up to 4m0s
[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 Kubernetes containers running in docker:
- 'docker ps -a | grep kube | grep -v pause'
Once you have found the failing container, you can inspect its logs with:
- 'docker logs CONTAINERID'
couldn't initialize a Kubernetes cluster
error execution phase wait-control-plane
and getting "node not found error" in systemctl status kubelet and journal logs,
Tried to re-configure kubernetes after IP change but kuberetes not working
Tried to re-install and re-configure kubernetes on RPI but then getting multiple issues, tried to fix the issues but kubernetes not working,
Tried to upgrade the RPI and then tried to re-install and re-configure kubernetes,
and tried to fix the issues then it seems all the pods installed but seems not stable, API server, controller and scheduler pod is crashing
I also tried to apply some possible solutions but still kuberetes not working:
Docker version 20.10.22, build 3a2c30b
Kubernetes version 1.23.5
Is this docker and kubernetes version compatible