HpaScalingRulesV2 Properties
Class Properties 3 members
Represents the scaling rules for Kubernetes Horizontal Pod Autoscaler (HPA) in version 2 API.
Represents a collection of scaling policies associated with the Horizontal Pod Autoscaler (HPA) in Kubernetes API v2.
public List<HpaScalingPolicyV2> Policies { get; }Remarks
The
Policies property defines a list of scaling policies that determine how scaling actions are executed. Each policy specifies the type of scaling operation, the associated value, and the duration over which the scaling policy is applied. Specifies the policy selection strategy for scaling operations within the Horizontal Pod Autoscaler (HPA) configuration.
public string SelectPolicy { get; set; }Remarks
This property determines which policy from the defined list of scaling policies should be applied when multiple policies are available. Possible values typically define strategies such as choosing the fastest policy or the one with the largest or smallest impact.
Gets or sets the stabilization window in seconds for scaling decisions in the Horizontal Pod Autoscaler (HPA).
public int? StabilizationWindowSeconds { get; set; }Remarks
The stabilization window defines the time period during which past metric readings are considered to avoid rapid fluctuations caused by transient conditions. If set, this property determines how long the system waits before applying a scaling operation. A null or zero value disables the stabilization window.