# DeploymentStrategyV1

- Kind: `class`
- Package: [Aspire.Hosting.Kubernetes](/reference/api/csharp/aspire.hosting.kubernetes.md)
- Version: `13.3.0-preview.1.26254.5`
- Namespace: `Aspire.Hosting.Kubernetes.Resources`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Kubernetes/Resources/DeploymentStrategyV1.cs)

Describes the strategy used to replace old Pods with new ones in a Kubernetes Deployment.

## Definition

```csharp
namespace Aspire.Hosting.Kubernetes.Resources;

public sealed class DeploymentStrategyV1
{
    // ...
}
```

## Constructors

- [DeploymentStrategyV1](/reference/api/csharp/aspire.hosting.kubernetes/deploymentstrategyv1/constructors.md#constructor)

## Properties

- [RollingUpdate](/reference/api/csharp/aspire.hosting.kubernetes/deploymentstrategyv1/properties.md#rollingupdate) : [RollingUpdateDeploymentV1](/reference/api/csharp/aspire.hosting.kubernetes/rollingupdatedeploymentv1.md) `get; set` -- Represents the configuration for rolling update behavior in a deployment strategy. Defines parameters such as the maximum number of pods that can be unavailable during the update process or the maximum number of extra pods that can be created during a rolling update.
- [Type](/reference/api/csharp/aspire.hosting.kubernetes/deploymentstrategyv1/properties.md#type) : `string` `get; set` -- Specifies the type of deployment strategy to be used. Common values include "Recreate" or "RollingUpdate".
