Skip to content
DocsTry Aspire
DocsTry

HpaScalingRulesV2

Classsealednet8.0
📦 Aspire.Hosting.Kubernetes v13.4.0-preview.1.26281.18
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.