public static interface V1beta1Policy.PodDisruptionBudgetSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
IntStr.IntOrString |
getMaxUnavailable()
An eviction is allowed if at most "maxUnavailable" pods selected by
"selector" are unavailable after the eviction, i.e.
|
IntStr.IntOrStringOrBuilder |
getMaxUnavailableOrBuilder()
An eviction is allowed if at most "maxUnavailable" pods selected by
"selector" are unavailable after the eviction, i.e.
|
IntStr.IntOrString |
getMinAvailable()
An eviction is allowed if at least "minAvailable" pods selected by
"selector" will still be available after the eviction, i.e.
|
IntStr.IntOrStringOrBuilder |
getMinAvailableOrBuilder()
An eviction is allowed if at least "minAvailable" pods selected by
"selector" will still be available after the eviction, i.e.
|
Meta.LabelSelector |
getSelector()
Label query over pods whose evictions are managed by the disruption
budget.
|
Meta.LabelSelectorOrBuilder |
getSelectorOrBuilder()
Label query over pods whose evictions are managed by the disruption
budget.
|
boolean |
hasMaxUnavailable()
An eviction is allowed if at most "maxUnavailable" pods selected by
"selector" are unavailable after the eviction, i.e.
|
boolean |
hasMinAvailable()
An eviction is allowed if at least "minAvailable" pods selected by
"selector" will still be available after the eviction, i.e.
|
boolean |
hasSelector()
Label query over pods whose evictions are managed by the disruption
budget.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasMinAvailable()
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%". +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString minAvailable = 1;
IntStr.IntOrString getMinAvailable()
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%". +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString minAvailable = 1;
IntStr.IntOrStringOrBuilder getMinAvailableOrBuilder()
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%". +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString minAvailable = 1;
boolean hasSelector()
Label query over pods whose evictions are managed by the disruption budget. A null selector selects no pods. An empty selector ({}) also selects no pods, which differs from standard behavior of selecting all pods. In policy/v1, an empty selector will select all pods in the namespace. +patchStrategy=replace +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;
Meta.LabelSelector getSelector()
Label query over pods whose evictions are managed by the disruption budget. A null selector selects no pods. An empty selector ({}) also selects no pods, which differs from standard behavior of selecting all pods. In policy/v1, an empty selector will select all pods in the namespace. +patchStrategy=replace +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;
Meta.LabelSelectorOrBuilder getSelectorOrBuilder()
Label query over pods whose evictions are managed by the disruption budget. A null selector selects no pods. An empty selector ({}) also selects no pods, which differs from standard behavior of selecting all pods. In policy/v1, an empty selector will select all pods in the namespace. +patchStrategy=replace +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;
boolean hasMaxUnavailable()
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". +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 3;
IntStr.IntOrString getMaxUnavailable()
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". +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 3;
IntStr.IntOrStringOrBuilder getMaxUnavailableOrBuilder()
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". +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 3;
Copyright © 2022. All rights reserved.