StatefulSet.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 of the Kubernetes StatefulSet resource.
[YamlDotNet.Serialization.YamlMember(Alias="spec")]
public Aspire.Hosting.Kubernetes.Resources.StatefulSetSpecV1 Spec { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="spec")>]
member this.Spec : Aspire.Hosting.Kubernetes.Resources.StatefulSetSpecV1 with get, set
Public Property Spec As StatefulSetSpecV1
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute
Remarks
Represents the desired state and configuration of a StatefulSet. This property controls various aspects of the StatefulSet, such as the number of replicas, pod templates, update strategy, volume claims, and more. Refer to the StatefulSetSpecV1 documentation for detailed information about the available configuration options.