Package org.cdk8s.plus20
Interface StatefulSetUpdateStrategyRollingUpdateOptions
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
StatefulSetUpdateStrategyRollingUpdateOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.59.0 (build eb02c92)", date="2022-05-18T23:19:48.671Z") @Stability(Stable) public interface StatefulSetUpdateStrategyRollingUpdateOptions extends software.amazon.jsii.JsiiSerializable
Options for `StatefulSetUpdateStrategy.rollingUpdate`.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classStatefulSetUpdateStrategyRollingUpdateOptions.BuilderA builder forStatefulSetUpdateStrategyRollingUpdateOptionsstatic classStatefulSetUpdateStrategyRollingUpdateOptions.Jsii$ProxyAn implementation forStatefulSetUpdateStrategyRollingUpdateOptions
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static StatefulSetUpdateStrategyRollingUpdateOptions.Builderbuilder()default NumbergetPartition()If specified, all Pods with an ordinal that is greater than or equal to the partition will be updated when the StatefulSet's .spec.template is updated.
-
-
-
Method Detail
-
getPartition
@Stability(Stable) @Nullable default Number getPartition()
If specified, all Pods with an ordinal that is greater than or equal to the partition will be updated when the StatefulSet's .spec.template is updated. All Pods with an ordinal that is less than the partition will not be updated, and, even if they are deleted, they will be recreated at the previous version.If the partition is greater than replicas, updates to the pod template will not be propagated to Pods. In most cases you will not need to use a partition, but they are useful if you want to stage an update, roll out a canary, or perform a phased roll out.
Default: 0
-
builder
@Stability(Stable) static StatefulSetUpdateStrategyRollingUpdateOptions.Builder builder()
-
-