StatefulSetSpecV1.Template 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.
Specifies the pod template used by the StatefulSet for creating pods.
[YamlDotNet.Serialization.YamlMember(Alias="template")]
public Aspire.Hosting.Kubernetes.Resources.PodTemplateSpecV1 Template { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="template")>]
member this.Template : Aspire.Hosting.Kubernetes.Resources.PodTemplateSpecV1 with get, set
Public Property Template As PodTemplateSpecV1
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute
Remarks
This property defines the structure and configuration of the pod that will be created by the StatefulSet. It includes metadata and specifications for each pod, ensuring consistency and desired behavior for all pods managed by the StatefulSet.