HorizontalPodAutoscaler

The Kubernetes object that raises or lowers a workload's replica count automatically to keep a metric, such as CPU use, near a target.

In more detail

It needs working metrics, usually from Metrics Server, and CPU targets are measured as a percentage of each pod's request, so pods without requests cannot be scaled on CPU. It changes the replica count only; the cluster still needs room to place the new pods. Minimum and maximum replicas bound its decisions.

Related terms

Taught in

References

Certification courses