Skip to content

Commit 5359677

Browse files
authored
Merge pull request #42254 from xenolinux/call--out
BZ1836311: Change the position of the callout
2 parents b9a9122 + 89b8581 commit 5359677

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/graceful-shutdown.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,9 @@ $ oc -n openshift-kube-apiserver-operator get secret kube-apiserver-to-kubelet-s
4242
+
4343
[source,terminal]
4444
----
45-
$ for node in $(oc get nodes -o jsonpath='{.items[*].metadata.name}'); do oc debug node/${node} -- chroot /host shutdown -h 1 <1>; done
45+
$ for node in $(oc get nodes -o jsonpath='{.items[*].metadata.name}'); do oc debug node/${node} -- chroot /host shutdown -h 1 ; done <1>
4646
----
47+
<1> `-h 1` indicates how long, in minutes, this process lasts before the control-plane nodes are shut down. For large-scale clusters with 10 nodes or more, set to 10 minutes or longer to make sure all the compute nodes have time to shut down first.
4748
+
4849
.Example output
4950
----
@@ -56,7 +57,6 @@ Starting pod/ip-10-0-150-116us-east-2computeinternal-debug ...
5657
To use host binaries, run `chroot /host`
5758
Shutdown scheduled for Mon 2021-09-13 09:36:29 UTC, use 'shutdown -c' to cancel.
5859
----
59-
<1> Indicates how long, in minutes, this process lasts before the control-plane nodes are shut down. For large-scale clusters with 10 nodes or more, set to 10 minutes or longer to make sure all the compute nodes have time to shut down first.
6060
+
6161
Shutting down the nodes using one of these methods allows pods to terminate gracefully, which reduces the chance for data corruption.
6262
+

0 commit comments

Comments
 (0)