From f11fc99bb324081e61d0a41d536e3fec65edf312 Mon Sep 17 00:00:00 2001 From: Prithviraj Patil <116709298+prithvipatil97@users.noreply.github.com> Date: Sat, 28 Jun 2025 18:44:08 +0530 Subject: [PATCH] [enterprise-4.14] Update persistent-storage-csi-vol-detach-non-graceful-shutdown-proced --- ...ge-csi-vol-detach-non-graceful-shutdown-procedure.adoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 953682741132..bcccedf1b44e 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. +