From 14173d0c21a8a96f9ff112fca65cd6af81023677 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] Update persistent-storage-csi-vol-detach-non-graceful-shutdown-procedure.adoc - Incorrect structure in the OpenShift documentation - Here is the documentation link: https://docs.redhat.com/en/documentation/openshift_container_platform/4.16/html/storage/ephemeral-storage-csi-vol-detach-non-graceful-shutdown#persistent-storage-csi-vol-detach-non-graceful-shutdown-procedure_ephemeral-storage-csi-vol-detach-non-graceful-shutdown -$ sign is missing from every command. - is mentioned without an underscore. Following changes are required: 1. Need to add $ sign at the start of each command. 2. Need to mention underscore between 3. Need to add value for 1 Newcommit-Update persistent-storage-csi-vol-detach-non-graceful-shutdown-procedure.adoc Newcommit-Update persistent-storage-csi-vol-detach-non-graceful-shutdown-procedure.adoc --- ...si-vol-detach-non-graceful-shutdown-procedure.adoc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 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 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