@Generated(value="jsii-pacmak/1.43.0 (build b69a797)", date="2021-11-09T00:21:33.852Z") @Stability(value=Stable) public enum PodManagementPolicy extends Enum<PodManagementPolicy>
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.
| Enum Constant and Description |
|---|
ORDERED_READY |
PARALLEL |
| Modifier and Type | Method and Description |
|---|---|
static PodManagementPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PodManagementPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Stable) public static final PodManagementPolicy ORDERED_READY
@Stability(value=Stable) public static final PodManagementPolicy PARALLEL
public static PodManagementPolicy[] values()
for (PodManagementPolicy c : PodManagementPolicy.values()) System.out.println(c);
public static PodManagementPolicy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021. All rights reserved.