Bird
0
0

How does Cluster Autoscaler decide which nodes to remove during scale-down when multiple nodes are underutilized?

hard📝 Conceptual Q9 of 15
Kubernetes - Resource Management
How does Cluster Autoscaler decide which nodes to remove during scale-down when multiple nodes are underutilized?
AIt removes nodes with the least number of pods first
BIt removes nodes that can be drained without evicting pods that cannot be rescheduled
CIt removes nodes randomly to balance the cluster
DIt removes the newest nodes first
Step-by-Step Solution
Solution:
  1. Step 1: Understand scale-down node selection criteria

    Cluster Autoscaler removes nodes that can be safely drained without causing pod scheduling failures.
  2. Step 2: Eliminate incorrect options

    It does not remove nodes randomly or based on pod count alone, nor does it remove newest nodes first.
  3. Final Answer:

    It removes nodes that can be drained without evicting pods that cannot be rescheduled -> Option B
  4. Quick Check:

    Safe node removal avoids unschedulable pods [OK]
Quick Trick: Autoscaler removes only safely drainable nodes [OK]
Common Mistakes:
  • Assuming random node removal
  • Thinking it removes nodes with fewest pods always
  • Believing newest nodes are removed first

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes