PodTemplateSpecV1
Class sealed net10.0
Represents the specification of a pod template in Kubernetes.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class PodTemplateSpecV1{ // ...}Remarks
Section titled Remarks A PodTemplateSpec object is primarily used in resource definitions such as ReplicaSets, StatefulSets, and ReplicationControllers to define the template for creating pods. It contains specification details for the pod, including metadata and the pod's desired state.
Constructors1
Section titled ConstructorsProperties2
Section titled PropertiesMetadataget; set Gets or sets the metadata associated with the pod template specification. This includes standard object metadata such as name, namespace, labels, annotations, and other fields that describe the object.
Specget; set Gets or sets the specification of the pod template. This property is used to define the desired characteristics and behavior of the pod, including its containers, volumes, scheduling constraints, and other configurations. The provided specification follows the structure defined by
PodSpecV1.