Node drain hangs
When completing maintenance tasks, Netcool® Operations Insight® PodDisruptionBudgets (PDBs) block the draining of worker nodes on Red Hat® OpenShift® Container Platform.
ProblemThe draining of worker nodes is blocked. A message similar to the following is displayed when pod eviction fails:
Cannot evict pod as it would violate the pod's disruption budget.
ResolutionThe Netcool Operations Insight PDBs must be deleted by running the following commands before draining the worker node:
The oc get pdb command
returns the PDB names, for example:
oc get pdb | grep <helm-release>
oc delete pdb -l release=noi-release-name --all
noi-cassandra-pdb. Each PDB must be deleted
with the oc delete pdb command.