
org.cdk8s.plus31.PodManagementPolicy Maven / Gradle / Ivy
package org.cdk8s.plus31;
/**
* Controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down.
*
* The default policy is OrderedReady
, where pods are created in increasing order
* (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before
* continuing. When scaling down, the pods are removed in the opposite order.
*
* The alternative policy is Parallel
which will create pods in parallel to match the
* desired scale without waiting, and on scale down will delete all pods at once.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.104.0 (build e79254c)", date = "2024-10-12T12:14:17.430Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Jsii(module = org.cdk8s.plus31.$Module.class, fqn = "cdk8s-plus-31.PodManagementPolicy")
public enum PodManagementPolicy {
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
ORDERED_READY,
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
PARALLEL,
}