Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 867 Bytes

k8s-best-practices-disruption-budgets.adoc

File metadata and controls

9 lines (5 loc) · 867 Bytes

Disruption budgets

When managing the platform there are at least two types of disruptions that can occur. They are voluntary and involuntary. When dealing with voluntary disruptions a pod disruption budget can be set that determines how many replicas of the application must remain running at any given time. For example, consider the case where an administrator is shutting down a node for

maintenance and the node has to be drained. If there is a pod disruption budget set then OpenShift will respect that and ensure that the required number of pods are available by bringing up pods on different nodes before draining the current node.