Skip to content
Docs Try Aspire

HorizontalPodAutoscalerV2 Properties

Class Properties 1 member
Represents a Kubernetes resource for Horizontal Pod Autoscaling (HPA) under the autoscaling/v2 API version.
Gets or sets the specification of the Horizontal Pod Autoscaler (HPA) in version v2 of the Kubernetes Autoscaling API.
public HorizontalPodAutoscalerSpecV2 Spec { get; set; }
This property defines the scaling behavior and configuration for a Kubernetes resource targeted by the HPA. It includes details such as scaling policies, target resource reference, metrics to monitor, and replica count constraints (minimum and maximum replicas).