Nodes in the Kubernetes cluster may remain in an "Unhealthy" state on the control plane/master node after they are restarted.
This problem occurs because the nf_conntrack
module, which is essential for network connection tracking, is not automatically loaded on reboot.
To ensure nodes reconnect properly after a restart, you need to make sure the nf_conntrack
module is loaded at boot on all workers nodes thought this command;
sudo modprobe nf_conntrack && grep -qxF 'nf_conntrack' /etc/modules || echo 'nf_conntrack' | sudo tee -a /etc/modules
Happy Clustering