HorizontalPodAutoscalerV2 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 a Kubernetes resource for Horizontal Pod Autoscaling (HPA) under the autoscaling/v2 API version.
public HorizontalPodAutoscalerV2();
Public Sub New ()
Remarks
The HorizontalPodAutoscalerV2 class is responsible for defining and managing the behavior of the HPA, which automatically adjusts the number of pods in a deployment, replica set, or stateful set based on metrics and thresholds. It extends BaseKubernetesResource to include additional properties specific to the HPA specification as defined in Kubernetes.