HorizontalPodAutoscalerSpecV2.MinReplicas 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 minimum number of replicas that the Horizontal Pod Autoscaler should maintain.
[YamlDotNet.Serialization.YamlMember(Alias="minReplicas")]
public int? MinReplicas { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="minReplicas")>]
member this.MinReplicas : Nullable<int> with get, set
Public Property MinReplicas As Nullable(Of Integer)
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute
Remarks
This property sets a lower limit on the number of pod replicas that are maintained by the autoscaler. If not set, it defaults to maintaining at least one instance. A value of 0 can be specified to allow scaling down to zero replicas when no workload demand exists.