PodTemplate
Class sealed net10.0
Represents a PodTemplate resource in Kubernetes.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class PodTemplate : Aspire.Hosting.Kubernetes.Resources.BaseKubernetesResource{ // ...}Remarks
Section titled Remarks A PodTemplate is a basic unit in Kubernetes that holds Pod specification templates. It allows for defining reusable configurations for Pods, typically used in combination with higher-level controllers like Deployments. The template field inside this resource specifies the desired Pod specification to use. This class derives from the BaseKubernetesResource and supports API version "v1" with the resource kind "PodTemplate". Properties defined in this class allow interaction with the YAML configuration for Kubernetes PodTemplates.