HpaScalingRulesV2
Class sealed net10.0
Represents the scaling rules for Kubernetes Horizontal Pod Autoscaler (HPA) in version 2 API.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class HpaScalingRulesV2{ // ...}Remarks
Section titled 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.
Constructors1
Section titled ConstructorsProperties3
Section titled PropertiesPoliciesget Represents a collection of scaling policies associated with the Horizontal Pod Autoscaler (HPA) in Kubernetes API v2.
SelectPolicyget; setstring Specifies the policy selection strategy for scaling operations within the Horizontal Pod Autoscaler (HPA) configuration.
StabilizationWindowSecondsget; setint? Gets or sets the stabilization window in seconds for scaling decisions in the Horizontal Pod Autoscaler (HPA).