Skip to content
Docs Try Aspire

StatefulSetOrdinalsV1

Class sealed net8.0
📦 Aspire.Hosting.Kubernetes v13.2.0-preview.1.26170.3
Represents the configuration of ordinals for a StatefulSet in Kubernetes.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class StatefulSetOrdinalsV1
{
// ...
}
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.).