File tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ Each etcd pod of a 3-node cluster has its own persistent volume claim (PVC) to s
14
14
+
15
15
[source,terminal]
16
16
----
17
- $ oc get pods -l app=etcd -n < hosted _control_plane_namespace >
17
+ $ oc get pods -l app=etcd -n openshift-etcd
18
18
----
19
19
+
20
20
.Example output
@@ -32,7 +32,7 @@ The failing etcd pod might have the `CrashLoopBackOff` or `Error` status.
32
32
+
33
33
[source,terminal]
34
34
----
35
- $ oc delete pvc/< etcd _pvc_name > pod/< etcd _pod_name > -- wait=false
35
+ $ oc delete pods etcd-2 -n openshift-etcd
36
36
----
37
37
38
38
.Verification
@@ -41,7 +41,7 @@ $ oc delete pvc/<etcd_pvc_name> pod/<etcd_pod_name> --wait=false
41
41
+
42
42
[source,terminal]
43
43
----
44
- $ oc get pods -l app=etcd -n <hosted_control_plane_namespace>
44
+ $ oc get pods -l app=etcd -n openshift-etcd
45
45
----
46
46
+
47
47
.Example output
Original file line number Diff line number Diff line change @@ -14,19 +14,24 @@ You can check the status of the etcd cluster health by logging into any etcd pod
14
14
+
15
15
[source,terminal]
16
16
----
17
- $ oc rsh -n < hosted _control_plane_namespace > -c etcd <etcd _pod_name >
17
+ $ oc rsh -n openshift-etcd -c etcd <etcd _pod_name >
18
18
----
19
19
20
20
. Print the health status of an etcd cluster by entering the following command:
21
21
+
22
22
[source,terminal]
23
23
----
24
- sh-4.4$ etcdctl endpoint health -- cluster -w table
24
+ sh-4.4# etcdctl endpoint status -w table
25
25
----
26
26
+
27
27
.Example output
28
28
[source,terminal]
29
29
----
30
- ENDPOINT HEALTH TOOK ERROR
31
- https://etcd-0.etcd-discovery.clusters-hosted.svc:2379 true 9.117698ms
30
+ +------------------------------+-----------------+---------+---------+-----------+------------+-----------+------------+--------------------+--------+
31
+ | ENDPOINT | ID | VERSION | DB SIZE | IS LEADER | IS LEARNER | RAFT TERM | RAFT INDEX | RAFT APPLIED INDEX | ERRORS |
32
+ +------------------------------+-----------------+---------+---------+-----------+------------+-----------+------------+--------------------+--------+
33
+ | https://192.168.1xxx.20:2379 | 8fxxxxxxxxxx | 3.5.12 | 123 MB | false | false | 10 | 180156 | 180156 | |
34
+ | https://192.168.1xxx.21:2379 | a5xxxxxxxxxx | 3.5.12 | 122 MB | false | false | 10 | 180156 | 180156 | |
35
+ | https://192.168.1xxx.22:2379 | 7cxxxxxxxxxx | 3.5.12 | 124 MB | true | false | 10 | 180156 | 180156 | |
36
+ +-----------------------------+------------------+---------+---------+-----------+------------+-----------+------------+--------------------+--------+
32
37
----
You can’t perform that action at this time.
0 commit comments