Share via


HorizontalPodAutoscalerSpecV2.MinReplicas Property

Definition

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.

Applies to