Back to Glossary
Kubernetes

What is HPA (Horizontal Pod Autoscaler)?

Kubernetes controller that automatically scales pod replicas based on observed metrics.

The Horizontal Pod Autoscaler (HPA) automatically scales the number of pod replicas in a Deployment or StatefulSet based on observed CPU utilization, memory, or custom metrics (from Prometheus Adapter or KEDA). It runs as a control loop that periodically checks metrics and adjusts replicas within configured min and max bounds. Cooldown periods (stabilizationWindowSeconds) prevent flapping. Custom metrics enable scaling on business metrics like queue length or HTTP requests per second.

Deep Dive Guide

keda event driven autoscaling complete guide

Free Tool

k8s calculator

Test your knowledge of HPA (Horizontal Pod Autoscaler) and 130 other DevOps concepts