io.k8s.api.apps.v1.StatefulSetOrdinals Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bl-k8s130 Show documentation
Show all versions of bl-k8s130 Show documentation
Programmatic resource management for Kubernetes
package io.k8s.api.apps.v1;
import java.lang.Long;
/**
* StatefulSetOrdinals describes the policy used for replica ordinal assignment in this StatefulSet.
*/
public class StatefulSetOrdinals {
public Long start;
/**
* 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).
*/
public StatefulSetOrdinals start(Long start) {
this.start = start;
return this;
}
public static StatefulSetOrdinals statefulSetOrdinals() {
return new StatefulSetOrdinals();
}
}