Interview Prep/Kubernetes/Upgrades, etcd, disaster recovery and incidents

How do you check the health of cluster components?

BeginnerScenarioUpgrades, etcd, disaster recovery and incidents
Answer

Situation read → Quick triage.

What I'd do →

  1. kubectl get nodes
  2. kubectl get pods -n kube-system
  3. kubectl get --raw='/readyz?verbose'
  4. kubectl get events -A
  5. kubectl top nodes

Why → These cover the main failure areas.

Interview tip → Mention /livez and /readyz.

All Kubernetes questions Roadmap: Kubernetes networking, storage & scaling

More on Upgrades, etcd, disaster recovery and incidents