# StatefulSetUpdateStrategyV1

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

Represents the update strategy configuration for a Kubernetes StatefulSet resource.

## Definition

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

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

## Remarks

This class defines how updates to the StatefulSet's pods are applied. Kubernetes provides various strategies to update pods in a StatefulSet, enabling controlled and efficient updates to deployed applications.

## Constructors

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

## Properties

- [RollingUpdate](/reference/api/csharp/aspire.hosting.kubernetes/statefulsetupdatestrategyv1/properties.md#rollingupdate) : [RollingUpdateStatefulSetStrategyV1](/reference/api/csharp/aspire.hosting.kubernetes/rollingupdatestatefulsetstrategyv1.md) `get; set` -- Specifies the rolling update strategy configuration for a StatefulSet in Kubernetes.
- [Type](/reference/api/csharp/aspire.hosting.kubernetes/statefulsetupdatestrategyv1/properties.md#type) : `string` `get; set` -- Determines the type of update strategy for a StatefulSet in Kubernetes.
