Skip to content
Docs Try Aspire

StatefulSetOrdinalsV1

Class sealed net10.0
📦 Aspire.Hosting.Kubernetes v13.1.2-preview.1.26125.13
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.).