Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PodDisruptionBudgetSpecV1Beta1

PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.

schema

io.k8s.api.policy.v1beta1.PodDisruptionBudgetSpec

Hierarchy

  • PodDisruptionBudgetSpecV1Beta1

Index

Properties

Optional Readonly maxUnavailable

maxUnavailable: IntOrString

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".

schema

io.k8s.api.policy.v1beta1.PodDisruptionBudgetSpec#maxUnavailable

Optional Readonly minAvailable

minAvailable: IntOrString

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%".

schema

io.k8s.api.policy.v1beta1.PodDisruptionBudgetSpec#minAvailable

Optional Readonly selector

selector: LabelSelector

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.

schema

io.k8s.api.policy.v1beta1.PodDisruptionBudgetSpec#selector

Generated using TypeDoc