HPA Not Scaling

HPA metrics server, custom metrics, stabilization window, scale-down cooldown, and resource request prerequisites.

Overview

Overview

The Horizontal Pod Autoscaler (HPA) scales a Deployment or StatefulSet by comparing observed metric values with target values. When it is configured but not scaling, the cause is usually missing metrics, missing resource requests, metrics below the threshold, or the stabilization window delaying the change.

Key concepts

  • Metrics Server
  • Resource requests prerequisite
  • Scale-down stabilization window
  • KEDA
  • HPA min/max replicas

Interview questions

  • Your HPA is configured but the TARGETS column shows unknown/unknown. How do you fix it?

Sign up free to read the full topic

More Troubleshooting topics

Start free on Cariara · Coding problems · System design studio