Video: Learn Kubernetes with Google - Intro to Horizontal Pod Autoscaler (HPA)
Description: The Horizontal Pod Autoscaler (HPA) is a Kubernetes primitive that enables you to dynamically scale your application (pods) up or down based on your workloads resource utilization such as CPU or Memory, or other potential metrics related to your app.
Resources:
- Horizontal Pod Autoscaling overview
- About the Horizontal Pod Autoscaler
- Horizontal Pod Autoscaler reference commands
nginx-deployment.yaml
- Sample deploymentnginx-autoscaler.yaml
- Corresponding autoscaler object
NOTE: These are reference examples; it will not autoscale. For a functional example, see the Horizontal Pod Autoscaler Walkthrough.