HorizontalPodAutoscaler.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 that defines the desired behavior of the Horizontal Pod Autoscaler.
[YamlDotNet.Serialization.YamlMember(Alias="spec")]
public Aspire.Hosting.Kubernetes.Resources.HorizontalPodAutoscalerSpecV1 Spec { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="spec")>]
member this.Spec : Aspire.Hosting.Kubernetes.Resources.HorizontalPodAutoscalerSpecV1 with get, set
Public Property Spec As HorizontalPodAutoscalerSpecV1
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute
Remarks
This property holds the configuration details for the autoscaling behavior, including metrics such as CPU usage, target resource references, and the range of permissible replica counts.