Skip to content
Docs Try Aspire

Pod

Class sealed net10.0
📦 Aspire.Hosting.Kubernetes v13.1.2-preview.1.26125.13
Represents a Kubernetes Pod resource in the v1 API version.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class Pod
: Aspire.Hosting.Kubernetes.Resources.BaseKubernetesResource
{
// ...
}
A Pod is the smallest and simplest Kubernetes resource that serves as a unit of deployment in the cluster. It encapsulates an application container or multiple containers, along with storage resources, networking, and configuration options to manage the execution of the containerized application. Pods are the foundational building blocks of Kubernetes workloads and are managed by controllers like Deployments, ReplicaSets, and Jobs.
View all constructors
Specget; set
Represents the specification for the Kubernetes Pod resource. Contains detailed configuration for the behavior and lifecycle management of the Kubernetes Pod. This property is of type PodSpecV1.
View all properties