intermediate~4h

Scaling: HPA, VPA & Cluster Autoscaler

Three independent, complementary autoscaling mechanisms. HPA changes replica count based on metrics. VPA changes per-Pod CPU/memory allocation. Cluster Autoscaler changes node count. They operate at P

Learning objectives

  • Explain what metric the Horizontal Pod Autoscaler actually reacts to, and how it decides on a new replica count.
  • Explain why HPA and VPA are generally not combined on the same metric for the same workload.
  • Explain what the Cluster Autoscaler does differently from HPA/VPA, and when it actually gets triggered.

This is a Pro chapter

Sign in, then upgrade to Pro or Power to unlock this and the full DevOps Mastery library.

Scaling: HPA, VPA & Cluster Autoscaler

Next Step

Continue to Scheduling: Affinity, Taints & Topology Spread← Back to all Kubernetes chapters