Share via


HorizontalPodAutoscalerSpecV1.MaxReplicas Property

Definition

Specifies the maximum allowed number of replicas for the target resource managed by the HorizontalPodAutoscaler.

[YamlDotNet.Serialization.YamlMember(Alias="maxReplicas")]
public int MaxReplicas { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="maxReplicas")>]
member this.MaxReplicas : int with get, set
Public Property MaxReplicas As Integer

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

The MaxReplicas property defines an upper limit on the number of replicas that can be created for the specified workload. This ensures that the scaling process does not exceed operational constraints or resource limits, even if usage metrics surpass thresholds.

Applies to