HorizontalPodAutoscalerV2.Spec Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the specification of the Horizontal Pod Autoscaler (HPA) in version v2 of the Kubernetes Autoscaling API.
[YamlDotNet.Serialization.YamlMember(Alias="spec")]
public Aspire.Hosting.Kubernetes.Resources.HorizontalPodAutoscalerSpecV2 Spec { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="spec")>]
member this.Spec : Aspire.Hosting.Kubernetes.Resources.HorizontalPodAutoscalerSpecV2 with get, set
Public Property Spec As HorizontalPodAutoscalerSpecV2
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute
Remarks
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).