diff --git a/modules/persistent-storage-csi-vol-detach-non-graceful-shutdown-procedure.adoc b/modules/persistent-storage-csi-vol-detach-non-graceful-shutdown-procedure.adoc index da0a8fdad1d1..fb274e2191d5 100644 --- a/modules/persistent-storage-csi-vol-detach-non-graceful-shutdown-procedure.adoc +++ b/modules/persistent-storage-csi-vol-detach-non-graceful-shutdown-procedure.adoc @@ -21,9 +21,9 @@ To allow volumes to detach automatically from a node after a non-graceful node s + [source,terminal] ---- -oc get node <1> +$ oc get node <1> ---- -<1> = name of the non-gracefully shutdown node +<1> = name of the node that shut down non-gracefully + [IMPORTANT] ==== @@ -40,9 +40,9 @@ statefulsets to be evicted, and replacement pods to be created on a different no + [source,terminal] ---- -oc adm taint node node.kubernetes.io/out-of-service=nodeshutdown:NoExecute <1> +$ oc adm taint node node.kubernetes.io/out-of-service=nodeshutdown:NoExecute <1> ---- -<1> = name of the non-gracefully shutdown node +<1> = name of the node that shut down non-gracefully + After the taint is applied, the volumes detach from the shutdown node allowing their disks to be attached to a different node. + @@ -65,5 +65,6 @@ spec: + [source, terminal] ---- -oc adm taint node node.kubernetes.io/out-of-service=nodeshutdown:NoExecute- <1> +$ oc adm taint node node.kubernetes.io/out-of-service=nodeshutdown:NoExecute- <1> ---- +<1> = name of the node that shut down non-gracefully