# StatefulSetOrdinalsV1

- 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/StatefulSetOrdinalsV1.cs)

Represents the configuration of ordinals for a StatefulSet in Kubernetes.

## Definition

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

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

## Remarks

The `StatefulSetOrdinalsV1` class defines optional settings that control the starting ordinal for the replicas in a StatefulSet. Ordinals determine the numbering of the pods created within a StatefulSet (e.g., pod-0, pod-1, etc.).

## Constructors

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

## Properties

- [Start](/reference/api/csharp/aspire.hosting.kubernetes/statefulsetordinalsv1/properties.md#start) : `int?` `get; set` -- Gets or sets the starting ordinal value for the StatefulSet instances. This property defines the initial index from which the StatefulSet instances will begin counting.
