Interface V1Policy.PodDisruptionBudgetSpecOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
V1Policy.PodDisruptionBudgetSpec, V1Policy.PodDisruptionBudgetSpec.Builder
Enclosing class:
V1Policy

public static interface V1Policy.PodDisruptionBudgetSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e.
    An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e.
    An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e.
    An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e.
    Label query over pods whose evictions are managed by the disruption budget.
    Label query over pods whose evictions are managed by the disruption budget.
    boolean
    An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e.
    boolean
    An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e.
    boolean
    Label query over pods whose evictions are managed by the disruption budget.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasMinAvailable

      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;
    • getMinAvailable

      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;
    • getMinAvailableOrBuilder

      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;
    • hasSelector

      boolean hasSelector()
       Label query over pods whose evictions are managed by the disruption
       budget.
       A null selector will match no pods, while an empty ({}) selector will select
       all pods within the namespace.
       +patchStrategy=replace
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;
    • getSelector

      Meta.LabelSelector getSelector()
       Label query over pods whose evictions are managed by the disruption
       budget.
       A null selector will match no pods, while an empty ({}) selector will select
       all pods within the namespace.
       +patchStrategy=replace
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;
    • getSelectorOrBuilder

      Meta.LabelSelectorOrBuilder getSelectorOrBuilder()
       Label query over pods whose evictions are managed by the disruption
       budget.
       A null selector will match no pods, while an empty ({}) selector will select
       all pods within the namespace.
       +patchStrategy=replace
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;
    • hasMaxUnavailable

      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;
    • getMaxUnavailable

      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;
    • getMaxUnavailableOrBuilder

      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;