Package org.cdk8s.plus28.k8s
Interface StatefulSetOrdinals
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
StatefulSetOrdinals.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-03T12:13:25.873Z") @Stability(Stable) public interface StatefulSetOrdinals extends software.amazon.jsii.JsiiSerializable
StatefulSetOrdinals describes the policy used for replica ordinal assignment in this StatefulSet.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classStatefulSetOrdinals.BuilderA builder forStatefulSetOrdinalsstatic classStatefulSetOrdinals.Jsii$ProxyAn implementation forStatefulSetOrdinals
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static StatefulSetOrdinals.Builderbuilder()default NumbergetStart()start is the number representing the first replica's index.
-
-
-
Method Detail
-
getStart
@Stability(Stable) @Nullable default Number getStart()
start is the number representing the first replica's index.It may be used to number replicas from an alternate index (eg: 1-indexed) over the default 0-indexed names, or to orchestrate progressive movement of replicas from one StatefulSet to another. If set, replica indices will be in the range: [.spec.ordinals.start, .spec.ordinals.start + .spec.replicas). If unset, defaults to 0. Replica indices will be in the range: [0, .spec.replicas).
-
builder
@Stability(Stable) static StatefulSetOrdinals.Builder builder()
- Returns:
- a
StatefulSetOrdinals.BuilderofStatefulSetOrdinals
-
-