Skip to content

Update persistent-storage-csi-vol-detach-non-graceful-shutdown-proced… #95410

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ To allow volumes to detach automatically from a node after a non-graceful node s
+
[source,terminal]
----
oc get node <node name> <1>
$ oc get node <node_name> <1>
----
<1> <node name> = name of the non-gracefully shutdown node
<1> <node_name> = name of the non-gracefully shutdown node
+
[IMPORTANT]
====
Expand All @@ -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 name> node.kubernetes.io/out-of-service=nodeshutdown:NoExecute <1>
$ oc adm taint node <node_name> node.kubernetes.io/out-of-service=nodeshutdown:NoExecute <1>
----
<1> <node name> = name of the non-gracefully shutdown node
<1> <node_name> = name of the non-gracefully shutdown node
+
After the taint is applied, the volumes detach from the shutdown node allowing their disks to be attached to a different node.
+
Expand All @@ -65,5 +65,6 @@ spec:
+
[source, terminal]
----
oc adm taint node <node name> node.kubernetes.io/out-of-service=nodeshutdown:NoExecute- <1>
$ oc adm taint node <node_name> node.kubernetes.io/out-of-service=nodeshutdown:NoExecute- <1>
----
<1> <node_name> = name of the non-gracefully shutdown node