Skip to main content

Horizontal Pod Autoscaler

The Horizontal Pod Autoscaler automatically scales the number of pods in a Kubernetes deployment based on observed CPU utilisation or other select metrics. It adjusts the number of replicas dynamically to meet application demands, ensuring efficient resource utilisation. For more detailed information, you can refer to the official Kubernetes documentation on Horizontal Pod Autoscalers.

Terraform Mappings:

  • kubernetes_horizontal_pod_autoscaler_v2.metadata[0].name

Supported Methods​

  • GET: Get a Horizontal Pod Autoscaler by name
  • LIST: List all Horizontal Pod Autoscalers
  • SEARCH: Search for a Horizontal Pod Autoscaler using the ListOptions JSON format e.g. ("labelSelector": "app=wordpress")