Skip to content

Commit 8b4336f

Browse files
author
Michael Burke
committed
Drain master node doesn't succeed without --force option
1 parent 47c263c commit 8b4336f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/graceful-shutdown.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ node/ci-ln-mgdnf4b-72292-n547t-worker-c-vcmtn cordoned
6262
[source,terminal]
6363
+
6464
----
65-
$ for node in $(oc get nodes -l node-role.kubernetes.io/worker -o jsonpath='{.items[*].metadata.name}'); do echo ${node} ; oc adm drain ${node} --delete-emptydir-data --ignore-daemonsets=true --timeout=15s ; done
65+
$ for node in $(oc get nodes -l node-role.kubernetes.io/worker -o jsonpath='{.items[*].metadata.name}'); do echo ${node} ; oc adm drain ${node} --delete-emptydir-data --ignore-daemonsets=true --timeout=15s --force ; done
6666
----
6767

6868
. Shut down all of the nodes in the cluster. You can do this from your cloud provider’s web console, or by running the following loop:
@@ -107,4 +107,4 @@ Cluster administrators are responsible for ensuring a clean restart of their own
107107
[IMPORTANT]
108108
====
109109
If you deployed your cluster on a cloud-provider platform, do not shut down, suspend, or delete the associated cloud resources. If you delete the cloud resources of a suspended virtual machine, {product-title} might not restore successfully.
110-
====
110+
====

0 commit comments

Comments
 (0)