Share via


StatefulSetSpecV1.Template Property

Definition

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.

Applies to