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
- Disk IOPS Saturation
- DNS Failures
- EC2 Instance Unresponsive
- ECS Task Failures and Restarts
- ELB 5xx Errors
- Flaky CI/CD Pipeline Failures
- IAM Permission Denied Errors
- JVM Garbage Collection Pauses
- Kubernetes Service Not Reachable
- Lambda Cold Start Latency
- Log Volume Explosion and Cost Runaway
- Memory Leak Diagnosis
Start free on Cariara · Coding problems · System design studio