Interview Prep/Kubernetes/Resources, autoscaling and scheduling

Pods land unevenly: some nodes are overloaded, others idle. What can you do?

IntermediateScenarioResources, autoscaling and scheduling
Answer

Situation read → The scheduler placed pods well initially but nodes drifted.

What I'd do →

  1. Check requests vs real usage per node
  2. Add topologySpreadConstraints
  3. Run the Descheduler to evict pods violating policies
  4. Ensure every pod has realistic requests
  5. Consider the scheduler profile MostAllocated or LeastAllocated depending on goals

Why → The scheduler decides only at scheduling time and never moves running pods.

Interview tip → Mention descheduler as the rebalancer.

All Kubernetes questions Roadmap: Kubernetes core

More on Resources, autoscaling and scheduling