@@ -57,14 +57,14 @@ It is not required to manually stop the pods on the recovery host. The recovery
57
57
+
58
58
[source,terminal]
59
59
----
60
- [core@ip-10-0-154-194 ~] $ sudo mv /etc/kubernetes/manifests/etcd-pod.yaml /tmp
60
+ $ sudo mv /etc/kubernetes/manifests/etcd-pod.yaml /tmp
61
61
----
62
62
63
63
.. Verify that the etcd pods are stopped.
64
64
+
65
65
[source,terminal]
66
66
----
67
- [core@ip-10-0-154-194 ~] $ sudo crictl ps | grep etcd | grep -v operator
67
+ $ sudo crictl ps | grep etcd | grep -v operator
68
68
----
69
69
+
70
70
The output of this command should be empty. If it is not empty, wait a few minutes and check again.
@@ -73,14 +73,14 @@ The output of this command should be empty. If it is not empty, wait a few minut
73
73
+
74
74
[source,terminal]
75
75
----
76
- [core@ip-10-0-154-194 ~] $ sudo mv /etc/kubernetes/manifests/kube-apiserver-pod.yaml /tmp
76
+ $ sudo mv /etc/kubernetes/manifests/kube-apiserver-pod.yaml /tmp
77
77
----
78
78
79
79
.. Verify that the Kubernetes API server pods are stopped.
80
80
+
81
81
[source,terminal]
82
82
----
83
- [core@ip-10-0-154-194 ~] $ sudo crictl ps | grep kube-apiserver | grep -v operator
83
+ $ sudo crictl ps | grep kube-apiserver | grep -v operator
84
84
----
85
85
+
86
86
The output of this command should be empty. If it is not empty, wait a few minutes and check again.
@@ -89,7 +89,7 @@ The output of this command should be empty. If it is not empty, wait a few minut
89
89
+
90
90
[source,terminal]
91
91
----
92
- [core@ip-10-0-154-194 ~] $ sudo mv /var/lib/etcd/ /tmp
92
+ $ sudo mv /var/lib/etcd/ /tmp
93
93
----
94
94
95
95
.. Repeat this step on each of the other control plane hosts that is not the recovery host.
@@ -108,7 +108,7 @@ You can check whether the proxy is enabled by reviewing the output of `oc get pr
108
108
+
109
109
[source,terminal]
110
110
----
111
- [core@ip-10-0-143-125 ~] $ sudo -E /usr/local/bin/cluster-restore.sh /home/core/backup
111
+ $ sudo -E /usr/local/bin/cluster-restore.sh /home/core/backup
112
112
----
113
113
+
114
114
.Example script output
@@ -146,7 +146,7 @@ static-pod-resources/kube-scheduler-pod-8/kube-scheduler-pod.yaml
146
146
+
147
147
[source,terminal]
148
148
----
149
- [core@ip-10-0-143-125 ~] $ sudo systemctl restart kubelet.service
149
+ $ sudo systemctl restart kubelet.service
150
150
----
151
151
152
152
.. Repeat this step on all other control plane hosts.
@@ -201,7 +201,7 @@ $ oc adm certificate approve <csr_name>
201
201
+
202
202
[source,terminal]
203
203
----
204
- [core@ip-10-0-143-125 ~] $ sudo crictl ps | grep etcd | grep -v operator
204
+ $ sudo crictl ps | grep etcd | grep -v operator
205
205
----
206
206
+
207
207
.Example output
@@ -214,7 +214,7 @@ $ oc adm certificate approve <csr_name>
214
214
+
215
215
[source,terminal]
216
216
----
217
- [core@ip-10-0-143-125 ~] $ oc get pods -n openshift-etcd | grep -v etcd-quorum-guard | grep etcd
217
+ $ oc get pods -n openshift-etcd | grep -v etcd-quorum-guard | grep etcd
218
218
----
219
219
+
220
220
[NOTE]
0 commit comments