HorizontalPodAutoscaler Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the Kubernetes HorizontalPodAutoscaler resource for managing the dynamic scaling of pods based on custom or predefined metrics.
public HorizontalPodAutoscaler();
Public Sub New ()
Remarks
The HorizontalPodAutoscaler resource is part of the Kubernetes autoscaling/v1 API version. It automatically adjusts the number of replicas in a replication controller, deployment, or replica set based on observed metrics such as CPU utilization. This class encapsulates the configuration settings, including the scaling target reference and metric thresholds, required to define a HorizontalPodAutoscaler in a Kubernetes cluster.