Package org.cdk8s.plus24
Class StatefulSetUpdateStrategy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.StatefulSetUpdateStrategy
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-02-04T02:31:05.025Z") @Stability(Stable) public class StatefulSetUpdateStrategy extends software.amazon.jsii.JsiiObject
StatefulSet update strategies.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
StatefulSetUpdateStrategy(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
protected
StatefulSetUpdateStrategy(software.amazon.jsii.JsiiObjectRef objRef)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StatefulSetUpdateStrategy
onDelete()
The controller will not automatically update the Pods in a StatefulSet.static StatefulSetUpdateStrategy
rollingUpdate()
The controller will delete and recreate each Pod in the StatefulSet.static StatefulSetUpdateStrategy
rollingUpdate(StatefulSetUpdateStrategyRollingUpdateOptions options)
The controller will delete and recreate each Pod in the StatefulSet.-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
Method Detail
-
onDelete
@Stability(Stable) @NotNull public static StatefulSetUpdateStrategy onDelete()
The controller will not automatically update the Pods in a StatefulSet.Users must manually delete Pods to cause the controller to create new Pods that reflect modifications.
-
rollingUpdate
@Stability(Stable) @NotNull public static StatefulSetUpdateStrategy rollingUpdate(@Nullable StatefulSetUpdateStrategyRollingUpdateOptions options)
The controller will delete and recreate each Pod in the StatefulSet.It will proceed in the same order as Pod termination (from the largest ordinal to the smallest), updating each Pod one at a time. The Kubernetes control plane waits until an updated Pod is Running and Ready prior to updating its predecessor.
- Parameters:
options
-
-
rollingUpdate
@Stability(Stable) @NotNull public static StatefulSetUpdateStrategy rollingUpdate()
The controller will delete and recreate each Pod in the StatefulSet.It will proceed in the same order as Pod termination (from the largest ordinal to the smallest), updating each Pod one at a time. The Kubernetes control plane waits until an updated Pod is Running and Ready prior to updating its predecessor.
-
-