# Deployment Constructors

- Package: [Aspire.Hosting.Kubernetes](/reference/api/csharp/aspire.hosting.kubernetes.md)
- Type: [Deployment](/reference/api/csharp/aspire.hosting.kubernetes/deployment.md)
- Kind: `Constructors`
- Members: `1`

Represents a Kubernetes Deployment resource for managing application deployments in a cluster.

## Deployment

- Name: `Constructor`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Kubernetes/Resources/DeploymentV1.cs#L18-L29)

Represents a Kubernetes Deployment resource for managing application deployments in a cluster.

```csharp
public sealed class Deployment
{
    public Deployment()
    {
        // ...
    }
}
```

## Remarks

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".
