Class RollingUpdateStatefulSetStrategy.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus25.k8s.RollingUpdateStatefulSetStrategy.Jsii$Proxy
-
- All Implemented Interfaces:
RollingUpdateStatefulSetStrategy,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- RollingUpdateStatefulSetStrategy
@Stability(Stable) @Internal public static final class RollingUpdateStatefulSetStrategy.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements RollingUpdateStatefulSetStrategy
An implementation forRollingUpdateStatefulSetStrategy
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface org.cdk8s.plus25.k8s.RollingUpdateStatefulSetStrategy
RollingUpdateStatefulSetStrategy.Builder, RollingUpdateStatefulSetStrategy.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(RollingUpdateStatefulSetStrategy.Builder builder)Constructor that initializes the object based on literal property values passed by theRollingUpdateStatefulSetStrategy.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)IntOrStringgetMaxUnavailable()The maximum number of pods that can be unavailable during the update.NumbergetPartition()Partition indicates the ordinal at which the StatefulSet should be partitioned for updates.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(RollingUpdateStatefulSetStrategy.Builder builder)
Constructor that initializes the object based on literal property values passed by theRollingUpdateStatefulSetStrategy.Builder.
-
-
Method Detail
-
getMaxUnavailable
public final IntOrString getMaxUnavailable()
Description copied from interface:RollingUpdateStatefulSetStrategyThe maximum number of pods that can be unavailable during the update.Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding up. This can not be 0. Defaults to 1. This field is alpha-level and is only honored by servers that enable the MaxUnavailableStatefulSet feature. The field applies to all pods in the range 0 to Replicas-1. That means if there is any unavailable pod in the range 0 to Replicas-1, it will be counted towards MaxUnavailable.
Default: 1. This field is alpha-level and is only honored by servers that enable the MaxUnavailableStatefulSet feature. The field applies to all pods in the range 0 to Replicas-1. That means if there is any unavailable pod in the range 0 to Replicas-1, it will be counted towards MaxUnavailable.
- Specified by:
getMaxUnavailablein interfaceRollingUpdateStatefulSetStrategy
-
getPartition
public final Number getPartition()
Description copied from interface:RollingUpdateStatefulSetStrategyPartition indicates the ordinal at which the StatefulSet should be partitioned for updates.During a rolling update, all pods from ordinal Replicas-1 to Partition are updated. All pods from ordinal Partition-1 to 0 remain untouched. This is helpful in being able to do a canary based deployment. The default value is 0.
- Specified by:
getPartitionin interfaceRollingUpdateStatefulSetStrategy
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-