Share via


StatefulSetSpecV1.Replicas Property

Definition

Gets or sets the desired number of replicas for the StatefulSet. This property represents the number of pod instances that should be maintained by the StatefulSet controller. If not specified, the default value is 1. A value of null indicates that the field is not set and the controller will fallback to the default behavior.

[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

Applies to