Is this a BUG REPORT or FEATURE REQUEST?:
enhancement
What happened:
When node reaper tries to drain a node, it does not check if all pods can be disrupted and node can be drained. It keeps trying to drain the node until command does not timesout.
What you expected to happen:
It should check before trying to drain a node.
How to reproduce it (as minimally and precisely as possible):
Try to drain a node which is having pods with 0 disruption allowed.
Anything else we need to know?:
Environment:
Other debugging information (if applicable):
kubectl logs <governor-pod>