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.
More on Autoscaling, Capacity & Cost
How do you right-size requests and limits?BeginnerWhy does HPA need accurate CPU requests?BeginnerWhat are Spot instances good for on Kubernetes?BeginnerHow do you reduce Kubernetes cost quickly?BeginnerWhat is metrics-server and what does it not do?BeginnerWhat is a good default for the node size and why?Beginner