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 →
- Check requests vs real usage per node
- Add
topologySpreadConstraints - Run the Descheduler to evict pods violating policies
- Ensure every pod has realistic requests
- Consider the scheduler profile
MostAllocatedorLeastAllocateddepending on goals
Why → The scheduler decides only at scheduling time and never moves running pods.
Interview tip → Mention descheduler as the rebalancer.
More on Resources, autoscaling and scheduling
How do you choose requests and limits for a new service?BeginnerPods are Pending with `0/6 nodes are available: 6 Insufficient cpu`. What do you do?IntermediateExplain QoS classes and which pods get evicted first.IntermediateCPU limits cause latency spikes though average usage is low. Why and what is the fix?IntermediateHow do you configure an HPA on CPU?BeginnerHPA shows `<unknown>/70%` for CPU. What do you do?Intermediate