Share via


ReplicaSetSpecV1.Replicas Property

Definition

Gets or sets the desired number of replicas for the ReplicaSet.

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

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

This property specifies the number of pod replicas that should be maintained by the ReplicaSet. If not specified, the default value is determined by the Kubernetes control plane.

Applies to