Skip to content

Commit 2efdcb2

Browse files
prithvipatil97Prithviraj Patil
authored andcommitted
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. - <node name> 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 <node name> 3. Need to add <node_name> 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
1 parent 5770b74 commit 2efdcb2

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

modules/persistent-storage-csi-vol-detach-non-graceful-shutdown-procedure.adoc

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ To allow volumes to detach automatically from a node after a non-graceful node s
2121
+
2222
[source,terminal]
2323
----
24-
oc get node <node name> <1>
24+
$ oc get node <node_name> <1>
2525
----
26-
<1> <node name> = name of the non-gracefully shutdown node
26+
<1> <node_name> = name of the node that shut down non-gracefully
2727
+
2828
[IMPORTANT]
2929
====
@@ -40,9 +40,9 @@ statefulsets to be evicted, and replacement pods to be created on a different no
4040
+
4141
[source,terminal]
4242
----
43-
oc adm taint node <node name> node.kubernetes.io/out-of-service=nodeshutdown:NoExecute <1>
43+
$ oc adm taint node <node_name> node.kubernetes.io/out-of-service=nodeshutdown:NoExecute <1>
4444
----
45-
<1> <node name> = name of the non-gracefully shutdown node
45+
<1> <node_name> = name of the node that shut down non-gracefully
4646
+
4747
After the taint is applied, the volumes detach from the shutdown node allowing their disks to be attached to a different node.
4848
+
@@ -65,5 +65,6 @@ spec:
6565
+
6666
[source, terminal]
6767
----
68-
oc adm taint node <node name> node.kubernetes.io/out-of-service=nodeshutdown:NoExecute- <1>
68+
$ oc adm taint node <node_name> node.kubernetes.io/out-of-service=nodeshutdown:NoExecute- <1>
6969
----
70+
<1> <node_name> = name of the node that shut down non-gracefully

0 commit comments

Comments
 (0)