Skip to content

Commit bebce35

Browse files
authored
Merge pull request #95410 from prithvipatil97/patch-69
Update persistent-storage-csi-vol-detach-non-graceful-shutdown-proced…
2 parents b6a14a1 + 2efdcb2 commit bebce35

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)