Skip to content
Docs Try Aspire

Deployment

Class sealed net10.0
📦 Aspire.Hosting.Kubernetes v13.1.2-preview.1.26125.13
Represents a Kubernetes Deployment resource for managing application deployments in a cluster.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class Deployment
: Aspire.Hosting.Kubernetes.Resources.Workload
{
// ...
}
The Deployment class is a sealed class derived from the BaseKubernetesResource. It defines the desired state and behavior of a deployment within a Kubernetes cluster, including specifications such as the number of replicas, update strategy, and pod templates. It uses the "apps/v1" API version and the resource kind "Deployment".