Skip to main content

Why do HPA and Cluster Autoscaler sometimes conflict?

Mid Kubernetes
Quick Answer HPA scales Pods based on current load; Cluster Autoscaler adds nodes when Pods are Pending (no room to schedule). Conflict: HPA scales up Pods รขโ€ โ€™ Cluster Autoscaler adds a node รขโ€ โ€™ node comes up รขโ€ โ€™ HPA scales down รขโ€ โ€™ Cluster Autoscaler tries to remove the underutilized node รขโ€ โ€™ HPA sees load spike again. Tune cooldown windows and min/max bounds to dampen oscillation.

Answer

HPA increases Pods requiring more nodes; autoscaler reacts slower, causing scaling thrashing.
S
SugharaIQ Editorial Team Verified Answer

This answer has been peer-reviewed by industry experts holding senior engineering roles to ensure technical accuracy and relevance for modern interview standards.

Want to bookmark, take notes, or join discussions?

Sign in to access all features and personalize your learning experience.

Sign In Create Account

Source: SugharaIQ

Ready to level up? Start Practice