Containers & Kubernetes
What Is the Kubernetes HPA? Automatically Adjust Pod Replicas from Metrics
The Kubernetes HorizontalPodAutoscaler (HPA) watches CPU, memory, or application metrics and automatically changes the replica count of a workload such as a Deployment. It can add replicas as load rises and remove them as load falls, but it does not add node capacity or fix an application bottleneck. Reliable scaling depends on a working metrics API, realistic resource requests, and suitable replica bounds.