Skip to content
Docs Try Aspire

Deployment Constructors

Class Constructors 1 member
Represents a Kubernetes Deployment resource for managing application deployments in a cluster.
Represents a Kubernetes Deployment resource for managing application deployments in a cluster.
public sealed class Deployment
{
public Deployment()
{
// ...
}
}
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".