Edit This Page
Horizontal Pod Autoscaler
This document describes the current state of the Horizontal Pod Autoscaler in Kubernetes.
What is the Horizontal Pod Autoscaler?
The Horizontal Pod Autoscaler automatically scales the number of pods
in a replication controller, deployment or replica set based on observed CPU utilization (or, with
support, on some other application-provided metrics). Note that Horizontal
Pod Autoscaling does not apply to objects that can’t be scaled, for example, DaemonSets.
The Horizontal Pod Autoscaler is implemented as a Kubernetes API resource and a controller.
The resource determines the behavior of the controller.
The controller periodically adjusts the number of replicas in a replication controller or deployment
to match the observed average CPU utilization to the target specified by user.
How does the Horizontal Pod Autoscaler work?