Drain with PodDisruptionBudget blocks in OpenShift 4
Issue
- If a
PodDisruptionBudgetis not correctly configured, a cluster administrator is not able to drain the node for the OS updates. - Some cluster providers have no control on the business pods so it means that in production clusters they will not be able to automatically drain & upgrade the node for example until an action is taken on the business side (responsible of the pod).
- Having both a
PodDisruptionBudgetandreplicasas 1, will lead to the situation that the drain is blocked.
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4
- PodDisruptionBudget (PDB)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.