Version: 2.4.2
Troubleshooting kubelet
The kubelet is the primary “node agent” that runs on each node. -- Kubernetes Docs
kubectl
is returning errors#
Either kubelet
or the apiserver
isn't running on the main master node.
#
Is kubelet running on the nodes?Check machines.yaml
for IPs
See if kubelet is running
Note: When running ssh
commands above, you might need to replace centos
with your custom value from spec.providerSpec.value.user
in setup/cluster.yaml
and perhaps also pass a private key to your cluster via -i your_cluster_key
.
So Kubelet is not running on one of the nodes.
#
Try and manually start kubeletIn this case it is still not starting up.
#
Check kubelet logsIn this case it can't find a config.