Skip to content
Docs Try Aspire

Deployment

Class sealed net8.0
📦 Aspire.Hosting.Kubernetes v13.2.0-preview.1.26170.3
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".