Skip to content

Commit 3c5ddcd

Browse files
authored
Merge pull request #55411 from tmalove/etcd-ocpbugs-6849-tlove
2 parents 4d70019 + f8d5d37 commit 3c5ddcd

6 files changed

+11
-11
lines changed

modules/dr-restoring-cluster-state.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ $ sudo crictl ps | grep etcd | grep -v operator
266266
+
267267
[source,terminal]
268268
----
269-
$ oc get pods -n openshift-etcd | grep -v etcd-quorum-guard | grep etcd
269+
$ oc -n openshift-etcd get pods -l k8s-app=etcd
270270
----
271271
+
272272
[NOTE]
@@ -645,7 +645,7 @@ In a terminal that has access to the cluster as a `cluster-admin` user, run the
645645
+
646646
[source,terminal]
647647
----
648-
$ oc get pods -n openshift-etcd | grep -v etcd-quorum-guard | grep etcd
648+
$ oc -n openshift-etcd get pods -l k8s-app=etcd
649649
----
650650
+
651651
.Example output

modules/etcd-defrag.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Follow this procedure to defragment etcd data on each etcd member.
8787
+
8888
[source,terminal]
8989
----
90-
$ oc get pods -n openshift-etcd -o wide | grep -v guard | grep etcd
90+
$ oc -n openshift-etcd get pods -l k8s-app=etcd -o wide
9191
----
9292
+
9393
.Example output

modules/restore-determine-state-etcd-member.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ ip-10-0-154-204.ec2.internal Ready master 6h13m v1.25.0
104104
+
105105
[source,terminal]
106106
----
107-
$ oc get pods -n openshift-etcd | grep -v etcd-quorum-guard | grep etcd
107+
$ oc -n openshift-etcd get pods -l k8s-app=etcd
108108
----
109109
+
110110
.Example output

modules/restore-replace-crashlooping-etcd-member.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ In a terminal that has access to the cluster as a `cluster-admin` user, run the
7070
+
7171
[source,terminal]
7272
----
73-
$ oc get pods -n openshift-etcd | grep -v etcd-quorum-guard | grep etcd
73+
$ oc -n openshift-etcd get pods -l k8s-app=etcd
7474
----
7575
+
7676
.Example output

modules/restore-replace-stopped-baremetal-etcd-member.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ In a terminal that has access to the cluster as a `cluster-admin` user, run the
3232
+
3333
[source,terminal]
3434
----
35-
$ oc get pods -n openshift-etcd -o wide | grep etcd | grep -v guard
35+
$ oc -n openshift-etcd get pods -l k8s-app=etcd -o wide
3636
----
3737
+
3838
.Example output
@@ -570,7 +570,7 @@ In a terminal that has access to the cluster as a `cluster-admin` user, run the
570570
+
571571
[source,terminal]
572572
----
573-
$ oc get pods -n openshift-etcd -o wide | grep etcd | grep -v guard
573+
$ oc -n openshift-etcd get pods -l k8s-app=etcd
574574
----
575575
+
576576
.Example output
@@ -647,4 +647,4 @@ $ oc get etcd -o=jsonpath='{range.items[0].status.conditions[?(@.type=="NodeInst
647647
+
648648
----
649649
AllNodesAtLatestRevision
650-
----
650+
----

modules/restore-replace-stopped-etcd-member.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ In a terminal that has access to the cluster as a `cluster-admin` user, run the
3535
+
3636
[source,terminal]
3737
----
38-
$ oc get pods -n openshift-etcd | grep -v etcd-quorum-guard | grep etcd
38+
$ oc -n openshift-etcd get pods -l k8s-app=etcd
3939
----
4040
+
4141
.Example output
@@ -346,7 +346,7 @@ In a terminal that has access to the cluster as a `cluster-admin` user, run the
346346
+
347347
[source,terminal]
348348
----
349-
$ oc get pods -n openshift-etcd | grep -v etcd-quorum-guard | grep etcd
349+
$ oc -n openshift-etcd get pods -l k8s-app=etcd
350350
----
351351
+
352352
.Example output
@@ -400,4 +400,4 @@ If the output from the previous command lists more than three etcd members, you
400400
[WARNING]
401401
====
402402
Be sure to remove the correct etcd member; removing a good etcd member might lead to quorum loss.
403-
====
403+
====

0 commit comments

Comments
 (0)