PodTemplate.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.
Gets or sets the template for creating pods in Kubernetes.
[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
The Template property represents a PodTemplateSpec object that defines the metadata and specification for the pod instances created from the pod template. It is used in higher-level Kubernetes constructs such as Deployments, ReplicaSets, or StatefulSets to define the desired state of pods.