PodDisruptionBudget

An object that limits how many pods of an application may be voluntarily taken down at once, such as during a node drain.

In more detail

It states minAvailable or maxUnavailable for pods chosen by a selector, and the eviction API refuses evictions that would break it. That is why a drain can pause even when every pod is healthy. It cannot prevent involuntary failures such as a node crash, and it needs spare replicas to be satisfiable.

Example

kubectl get pdb web

Related terms

Taught in

References

Certification courses