We may earn an affiliate commission when you visit our partners.

Horizontal Pod Autoscaling

Save
May 1, 2024 3 minute read

Horizontal Pod Autoscaling (HPA) is a feature in Kubernetes that automatically adjusts the number of pods in a deployment based on the current load. This is done by monitoring the metrics of the deployment and scaling up or down as needed to maintain a desired level of performance. HPA can be used to improve the performance and availability of applications by ensuring that there are always enough pods to handle the current load.

How Does Horizontal Pod Autoscaling Work?

HPA works by monitoring the metrics of a deployment and scaling up or down as needed to maintain a desired level of performance. The metrics that are monitored can be either:

  • Resource metrics: These metrics measure the resource usage of the pods in the deployment, such as CPU and memory usage.
  • Custom metrics: These metrics are defined by the user and can be used to measure any aspect of the application's performance.

Once the metrics have been defined, the HPA will create a scaling policy that specifies the desired level of performance. The scaling policy will also define the upper and lower bounds for the number of pods in the deployment. The HPA will then monitor the metrics and scale the deployment up or down as needed to maintain the desired level of performance.

Why Use Horizontal Pod Autoscaling?

There are many benefits to using HPA, including:

Path to Horizontal Pod Autoscaling

Take the first step.
We've curated one courses to help you on your path to Horizontal Pod Autoscaling. Use these to develop your skills, build background knowledge, and put what you learn to practice.
Sorted from most relevant to least relevant:

Share

Help others find this page about Horizontal Pod Autoscaling: by sharing it with your friends and followers:

Reading list

We haven't picked any books for this reading list yet.
Table of Contents
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2025 OpenCourser