org.cdk8s.plus22.PodManagementPolicy Maven / Gradle / Ivy
Show all versions of cdk8s-plus-22 Show documentation
package org.cdk8s.plus22;
/**
* 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.47.0 (build 86d2c33)", date = "2021-12-08T00:16:55.111Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Jsii(module = org.cdk8s.plus22.$Module.class, fqn = "cdk8s-plus-22.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,
}