# StatefulSetUpdateStrategyV1 Properties

- Package: [Aspire.Hosting.Kubernetes](/reference/api/csharp/aspire.hosting.kubernetes.md)
- Type: [StatefulSetUpdateStrategyV1](/reference/api/csharp/aspire.hosting.kubernetes/statefulsetupdatestrategyv1.md)
- Kind: `Properties`
- Members: `2`

Represents the update strategy configuration for a Kubernetes StatefulSet resource.

## RollingUpdate

- Name: `RollingUpdate`
- Modifiers: `get; set`
- Returns: [RollingUpdateStatefulSetStrategyV1](/reference/api/csharp/aspire.hosting.kubernetes/rollingupdatestatefulsetstrategyv1.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Kubernetes/Resources/StatefulSetUpdateStrategyV1.cs)

Specifies the rolling update strategy configuration for a StatefulSet in Kubernetes.

```csharp
public RollingUpdateStatefulSetStrategyV1 RollingUpdate { get; set; }
```

## Remarks

This property defines the parameters for the rolling update process, managing how Pods in a StatefulSet are updated with minimal downtime and service disruption.

## Type

- Name: `Type`
- Modifiers: `get; set`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Kubernetes/Resources/StatefulSetUpdateStrategyV1.cs)

Determines the type of update strategy for a StatefulSet in Kubernetes.

```csharp
public string Type { get; set; }
```

## Remarks

This property specifies the update strategy type used for managing updates to the StatefulSet. Common values include "RollingUpdate" for rolling updates of the StatefulSet pods, or "OnDelete" for manual updates.
