Share via


HpaScalingRulesV2 Class

Definition

Represents the scaling rules for Kubernetes Horizontal Pod Autoscaler (HPA) in version 2 API.

[YamlDotNet.Serialization.YamlSerializable]
public sealed class HpaScalingRulesV2
[<YamlDotNet.Serialization.YamlSerializable>]
type HpaScalingRulesV2 = class
Public NotInheritable Class HpaScalingRulesV2
Inheritance
HpaScalingRulesV2
Attributes
YamlDotNet.Serialization.YamlSerializableAttribute

Remarks

The HPAScalingRulesV2 class defines the parameters and rules for scaling operations in Kubernetes. It includes configurable scaling policies, a stabilization window, and a strategy for selecting policies. This class enables you to customize the behavior of HPA scaling decisions.

Constructors

HpaScalingRulesV2()

Properties

Policies

Represents a collection of scaling policies associated with the Horizontal Pod Autoscaler (HPA) in Kubernetes API v2.

SelectPolicy

Specifies the policy selection strategy for scaling operations within the Horizontal Pod Autoscaler (HPA) configuration.

StabilizationWindowSeconds

Gets or sets the stabilization window in seconds for scaling decisions in the Horizontal Pod Autoscaler (HPA).

Applies to