Skip to content
Docs Try Aspire

HpaScalingRulesV2

Class sealed net10.0
📦 Aspire.Hosting.Kubernetes v13.1.2-preview.1.26125.13
Represents the scaling rules for Kubernetes Horizontal Pod Autoscaler (HPA) in version 2 API.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class HpaScalingRulesV2
{
// ...
}
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.