Skip to content

Commit f4b9c87

Browse files
kleinffmaireilly
authored andcommitted
add loop to uncordon nodes and recover cluster to schedulable state upon restart
1 parent dfee7f6 commit f4b9c87

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

modules/graceful-restart.adoc

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,5 +149,13 @@ ip-10-0-182-134.ec2.internal Ready worker 70m v1.29.4
149149
ip-10-0-211-16.ec2.internal Ready master 82m v1.29.4
150150
ip-10-0-250-100.ec2.internal Ready worker 69m v1.29.4
151151
----
152-
152+
+
153153
If the cluster did not start properly, you might need to restore your cluster using an etcd backup.
154+
155+
. After the control plane and worker nodes are ready, mark all the nodes in the cluster as schedulable.
156+
Run the following command:
157+
+
158+
[source,terminal]
159+
----
160+
for node in $(oc get nodes -o jsonpath='{.items[*].metadata.name}'); do echo ${node} ; oc adm uncordon ${node} ; done
161+
----

0 commit comments

Comments
 (0)