Skip to content
DocsTry Aspire
DocsTry

HpaScalingRulesV2

Classsealednet10.0
📦 Aspire.Hosting.Kubernetes v13.5.1-preview.1.26420.4
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.