Skip to content
Docs Try Aspire

PodTemplate Constructors

Class Constructors 1 member
Represents a PodTemplate resource in Kubernetes.
Represents a PodTemplate resource in Kubernetes.
public sealed class PodTemplate
{
public PodTemplate()
{
// ...
}
}
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.