Skip to content

Commit 8c3a4fa

Browse files
authored
Merge pull request #7880 from ahardin-rh/oc-adm-drain-37
Added --dry-run option for `oc adm drain` for 3.7
2 parents 55450e1 + ffe9df8 commit 8c3a4fa

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

admin_guide/manage_nodes.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,13 @@ is drained):
285285
$ oc adm drain <node1> <node2> --delete-local-data=true
286286
----
287287

288+
To list objects that will be migrated without actually performing the evacuation,
289+
use the `--dry-run` option and set it to `true`:
290+
291+
----
292+
$ oc adm drain <node1> <node2> --dry-run=true
293+
----
294+
288295
[[rebooting-nodes]]
289296
== Rebooting Nodes
290297

0 commit comments

Comments
 (0)