Class PodDisruptionBudgetSpecPatchArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.kubernetes.policy.v1beta1.inputs.PodDisruptionBudgetSpecPatchArgs
-
public final class PodDisruptionBudgetSpecPatchArgs extends com.pulumi.resources.ResourceArgs
PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PodDisruptionBudgetSpecPatchArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static PodDisruptionBudgetSpecPatchArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PodDisruptionBudgetSpecPatchArgs.Builder
builder()
static PodDisruptionBudgetSpecPatchArgs.Builder
builder(PodDisruptionBudgetSpecPatchArgs defaults)
java.util.Optional<com.pulumi.core.Output<com.pulumi.core.Either<java.lang.Integer,java.lang.String>>>
maxUnavailable()
java.util.Optional<com.pulumi.core.Output<com.pulumi.core.Either<java.lang.Integer,java.lang.String>>>
minAvailable()
java.util.Optional<com.pulumi.core.Output<LabelSelectorPatchArgs>>
selector()
-
-
-
Field Detail
-
Empty
public static final PodDisruptionBudgetSpecPatchArgs Empty
-
-
Method Detail
-
maxUnavailable
public java.util.Optional<com.pulumi.core.Output<com.pulumi.core.Either<java.lang.Integer,java.lang.String>>> maxUnavailable()
- Returns:
- An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable".
-
minAvailable
public java.util.Optional<com.pulumi.core.Output<com.pulumi.core.Either<java.lang.Integer,java.lang.String>>> minAvailable()
- Returns:
- An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%".
-
selector
public java.util.Optional<com.pulumi.core.Output<LabelSelectorPatchArgs>> selector()
- Returns:
- Label query over pods whose evictions are managed by the disruption budget.
-
builder
public static PodDisruptionBudgetSpecPatchArgs.Builder builder()
-
builder
public static PodDisruptionBudgetSpecPatchArgs.Builder builder(PodDisruptionBudgetSpecPatchArgs defaults)
-
-