|
6 | 6 | [id="graceful-restart_{context}"] |
7 | 7 | = Restarting the cluster |
8 | 8 |
|
| 9 | +[role="_abstract"] |
9 | 10 | You can restart your cluster after it has been shut down gracefully. |
10 | 11 |
|
11 | 12 | .Prerequisites |
@@ -127,7 +128,7 @@ ip-10-0-182-134.ec2.internal Ready worker 64m v1.35.0 |
127 | 128 | ip-10-0-250-100.ec2.internal Ready worker 64m v1.35.0 |
128 | 129 | ---- |
129 | 130 |
|
130 | | -. If the compute nodes are _not_ ready, then check whether there are any pending certificate signing requests (CSRs) that must be approved. |
| 131 | +. If the compute nodes are _not_ ready, then check whether there are any pending CSRs that must be approved. |
131 | 132 |
|
132 | 133 | .. Get the list of current CSRs: |
133 | 134 | + |
@@ -184,7 +185,7 @@ $ oc adm certificate approve <csr_name> |
184 | 185 | $ for node in $(oc get nodes -o jsonpath='{.items[*].metadata.name}'); do echo ${node} ; oc adm uncordon ${node} ; done |
185 | 186 | ---- |
186 | 187 |
|
187 | | -. Verify that the cluster started properly. |
| 188 | +.Verification |
188 | 189 |
|
189 | 190 | .. Check that there are no degraded cluster Operators. |
190 | 191 | + |
@@ -229,4 +230,20 @@ ip-10-0-211-16.ec2.internal Ready control-plane,master 82m v1.35.0 |
229 | 230 | ip-10-0-250-100.ec2.internal Ready worker 69m v1.35.0 |
230 | 231 | ---- |
231 | 232 | + |
232 | | -If the cluster did not start properly, you might need to restore your cluster using an etcd backup. For more information, see "Restoring to a previous cluster state". |
| 233 | +If the cluster did not start properly, you might need to restore your cluster by using an etcd backup. For more information, see "Restoring to a previous cluster state". |
| 234 | + |
| 235 | +. If a CSR is not approved after the restart, you can investigate possible issues by checking the logs: |
| 236 | ++ |
| 237 | +.. Check the Machine Approver logs by entering the following command: |
| 238 | ++ |
| 239 | +[source,terminal] |
| 240 | +---- |
| 241 | +$ oc logs -n openshift-cluster-machine-approver -l app=machine-approver |
| 242 | +---- |
| 243 | ++ |
| 244 | +.. Check the Kube Controller Manager logs by entering the following command: |
| 245 | ++ |
| 246 | +[source,terminal] |
| 247 | +---- |
| 248 | +$ oc logs -n openshift-kube-controller-manager -l app=kube-controller-manager |
| 249 | +---- |
0 commit comments