Skip to content
DocsTry Aspire
DocsTry

StatefulSetOrdinalsV1

Classsealednet8.0
📦 Aspire.Hosting.Kubernetes v13.4.0-preview.1.26281.18
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.).