Horizontal Pod Autoscaler is an object configured in Kubernetes that monitors Deployment and controls the size of deployment controlled by ReplicaSet.
HPA monitors CPU and Mem utilization of a Deployment pods, so It allows you to have Deployment size increased or decreased based on quota set for CPU/Mem. Thanks to that you can scale out your deployment if demand is higher that usual and scale it in, once load decreases.
### See also
- [[What is Deployment?]]
- [[What is ReplicaSet?]]