OpenShift - Evacuating pods on a nodes (oc adm drain)

Evacuating pods is the process of moving all of the pods on a node to another node. Before pods can be evacuated, the node must be marked as unscheduable.

A node contains one or more pods, and each pod contains one or more containers.


The oc adm drain command can be used to evacuate the pods on a node. In this example, the pods on node001 and node002 will be moved to another node.

oc adm drain node001 node002


Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee

Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

Please enter d265f in the box below so that we can be sure you are a human.


Web design by yours truely - me, myself, and I   |   |