Skip to content
cloud-engineering

HPA

Horizontal Pod Autoscaler

Definition

The Horizontal Pod Autoscaler automatically scales the number of pod replicas in a Kubernetes deployment based on observed CPU utilization, memory usage, or custom metrics. HPA continuously reconciles current replica count against desired replica count to maintain target metric values.

It works in conjunction with Cluster Autoscaler to add nodes when pending pods cannot be scheduled.

Can this ship? Are we exposed? Can you prove it?

Every CISO is asking these three questions. We answer them with facts, not guesses, from repository to runtime.