worker-1 is NotReady because its kubelet service is stopped. Diagnose from cluster evidence, restart it and verify workloads recover.
Simulateur déterministe — tape une commande (kubectl get pods -A) pour commencer.
student@kubelab:~$
Objectifs
- Confirm node condition and Events
- Inspect kubelet systemd status and logs
- Restart kubelet
- Verify node Ready
Étapes suggérées
- Describe the node before logging into it.
- Use journalctl -u kubelet.
- Verify rather than assuming the service restart fixed the node.
Indices
Voir la solution
kubectl describe node worker-1 systemctl status kubelet journalctl -u kubelet -n 50 --no-pager sudo systemctl restart kubelet kubectl get node worker-1