HorizontalPodAutoscalerBehaviorV2 Class
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.
Defines the scaling behavior for a Horizontal Pod Autoscaler in Kubernetes.
[YamlDotNet.Serialization.YamlSerializable]
public sealed class HorizontalPodAutoscalerBehaviorV2
[<YamlDotNet.Serialization.YamlSerializable>]
type HorizontalPodAutoscalerBehaviorV2 = class
Public NotInheritable Class HorizontalPodAutoscalerBehaviorV2
- Inheritance
-
HorizontalPodAutoscalerBehaviorV2
- Attributes
-
YamlDotNet.Serialization.YamlSerializableAttribute
Remarks
The HorizontalPodAutoscalerBehaviorV2 class specifies how the scaling process should behave, including rules for scaling up and scaling down. This can include settings such as stabilization windows and scaling policies to ensure smooth transitions.
Constructors
HorizontalPodAutoscalerBehaviorV2() |
Properties
ScaleDown |
Gets or sets the rules that define the behavior for scaling down in a Horizontal Pod Autoscaler (HPA). This property specifies the conditions and policies associated with decreasing the number of replicas when scaling down the resources managed by the HPA. |
ScaleUp |
Specifies the scaling behavior for scaling up operations in the HorizontalPodAutoscaler. Defines rules, policies, and other configurations governing how the scaling up process should occur. |