Interview Prep/Kubernetes/Autoscaling, Capacity & Cost

What causes the cluster autoscaler to thrash and how do you stop it?

AdvancedProductionAutoscaling, Capacity & Cost
Answer

Aggressive scale-down thresholds, Pods that cannot move (PDBs, local storage, no controller) causing repeated failed attempts, mismatched node group zones with zonal volumes, and HPA flapping. Tune scale-down-unneeded-time, use --balance-similar-node-groups, one ASG per AZ for zonal storage, and stabilize HPA behavior.

All Kubernetes questions Roadmap: Kubernetes networking, storage & scaling

More on Autoscaling, Capacity & Cost