All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.cdk8s.plus23.StatefulSetUpdateStrategy Maven / Gradle / Ivy

package org.cdk8s.plus23;

/**
 * StatefulSet update strategies.
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.75.0 (build 63bb957)", date = "2023-02-21T09:46:03.698Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Jsii(module = org.cdk8s.plus23.$Module.class, fqn = "cdk8s-plus-23.StatefulSetUpdateStrategy")
public class StatefulSetUpdateStrategy extends software.amazon.jsii.JsiiObject {

    protected StatefulSetUpdateStrategy(final software.amazon.jsii.JsiiObjectRef objRef) {
        super(objRef);
    }

    protected StatefulSetUpdateStrategy(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
        super(initializationMode);
    }

    /**
     * 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. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static @org.jetbrains.annotations.NotNull org.cdk8s.plus23.StatefulSetUpdateStrategy onDelete() { return software.amazon.jsii.JsiiObject.jsiiStaticCall(org.cdk8s.plus23.StatefulSetUpdateStrategy.class, "onDelete", software.amazon.jsii.NativeType.forClass(org.cdk8s.plus23.StatefulSetUpdateStrategy.class)); } /** * 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. *

* @param options */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static @org.jetbrains.annotations.NotNull org.cdk8s.plus23.StatefulSetUpdateStrategy rollingUpdate(final @org.jetbrains.annotations.Nullable org.cdk8s.plus23.StatefulSetUpdateStrategyRollingUpdateOptions options) { return software.amazon.jsii.JsiiObject.jsiiStaticCall(org.cdk8s.plus23.StatefulSetUpdateStrategy.class, "rollingUpdate", software.amazon.jsii.NativeType.forClass(org.cdk8s.plus23.StatefulSetUpdateStrategy.class), new Object[] { 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. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static @org.jetbrains.annotations.NotNull org.cdk8s.plus23.StatefulSetUpdateStrategy rollingUpdate() { return software.amazon.jsii.JsiiObject.jsiiStaticCall(org.cdk8s.plus23.StatefulSetUpdateStrategy.class, "rollingUpdate", software.amazon.jsii.NativeType.forClass(org.cdk8s.plus23.StatefulSetUpdateStrategy.class)); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy