PodDisruptionBudget

A PodDisruptionBudget limits the number of an application's Pods that can be unavailable during voluntary disruptions, such as draining a node for maintenance. It guarantees a minimum number of available replicas with minAvailable or maxUnavailable.

Example

spec:
  minAvailable: 2
  selector:
    matchLabels:
      app: web

Related concepts

The whole glossary