Skip to main content

HorizontalPodAutoscaling



Resource Icon

Resource Overview

A Kubernetes resource that automatically scales the number of Pods in a Deployment, ReplicaSet, or StatefulSet based on observed CPU usage.

Associated Resources

Parent Resource

Connected Resources

Resource Setting Values

  • service_name : HPA resource name
  • namespace : Namespace where HPA resources will be deployed
  • annotations : A key-value used to display necessary information in the Kubernetes system
  • labels : To distinguish objects, the user arbitrarily specifies the desired value
  • min_replicas : Minimum number of Pods that can be set in HPA - default is 1
  • max_replicas : Maximum number of Pods that can be set in HPA
  • target_cpu_utilization_percentage : Target average CPU utilization (represented as a percentage of requested CPU) over all the pods
  • scale_target_ref : Reference to extended resources
    • name : Referenced resource name
    • kind : Referenced resource type - Deployment, StatefulSet

Reference Materials