ReplicaSet.Spec 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.
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.