Share via


ReplicaSet.Spec Property

Definition

Gets or sets the specification that describes the desired behavior of the ReplicaSet resource.

[YamlDotNet.Serialization.YamlMember(Alias="spec")]
public Aspire.Hosting.Kubernetes.Resources.ReplicaSetSpecV1 Spec { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="spec")>]
member this.Spec : Aspire.Hosting.Kubernetes.Resources.ReplicaSetSpecV1 with get, set
Public Property Spec As ReplicaSetSpecV1

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

The specification defines the desired state, including replica count, pod templates, and label selector, for the Kubernetes ReplicaSet to maintain the specified number of pod replicas.

Applies to