Bird
0
0

Given a Kubernetes HA cluster with 3 control plane nodes behind a load balancer, what is the expected output of kubectl get nodes?

medium📝 Command Output Q4 of 15
Kubernetes - Production Best Practices
Given a Kubernetes HA cluster with 3 control plane nodes behind a load balancer, what is the expected output of kubectl get nodes?
ALists all worker and control plane nodes as Ready
BLists only worker nodes, control plane nodes are hidden
CShows control plane nodes as NotReady
DReturns an error due to multiple control plane nodes
Step-by-Step Solution
Solution:
  1. Step 1: Understand node visibility in HA cluster

    kubectl get nodes shows all nodes registered, including control plane and workers.
  2. Step 2: Check node status in healthy HA cluster

    All nodes should be Ready if cluster is healthy and load balancer routes correctly.
  3. Final Answer:

    Lists all worker and control plane nodes as Ready -> Option A
  4. Quick Check:

    kubectl get nodes output = all nodes Ready in HA cluster [OK]
Quick Trick: kubectl get nodes shows all Ready nodes in healthy HA cluster [OK]
Common Mistakes:
  • Assuming control plane nodes are hidden
  • Expecting NotReady status for control plane nodes
  • Thinking multiple control planes cause kubectl errors

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes