HorizontalPodAutoscalerBehaviorV2
Class sealed net10.0
Defines the scaling behavior for a Horizontal Pod Autoscaler in Kubernetes.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class HorizontalPodAutoscalerBehaviorV2{ // ...}Remarks
Section titled 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.
Constructors1
Section titled ConstructorsProperties2
Section titled PropertiesScaleDownget; set 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.
ScaleUpget; set 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.