HorizontalPodAutoscalerSpecV1.MaxReplicas 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.
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.