skip to content
Alvin Lucillo

Worker node not ready (2nd issue)

/ 1 min read

As mentioned yesterday, there can be a lot of reasons why kubelet fails. That’s why it’s important to run through troubleshooting steps, which were shared yesterday. If kubelet fails and starting it doesn’t work, look at the logs.

In the example below, logs show that it cannot find the CA file.

journalctl -u kubelet -f

Oct 09 12:25:25 node01 kubelet[12598]: E1009 12:25:25.932291   12598 run.go:72] "command failed" err="failed to construct kubelet dependencies: unable to load client CA file /etc/>
ailed" err="failed to construct kubelet dependencies: unable to load client CA file /etc/kubernetes/pki/WRONG-CA-FILE.crt: open /etc/kubernetes/pki/WRONG-CA-FILE.crt: no such file>

CA files are defined in /var/lib/kubelet/config.yaml. After fixing it, start the service.