Skip to content

Commit 34b6af5

Browse files
authored
Merge pull request #28946 from bergerhoffer/BZ-1921831
BZ-1921831: Excluding etcd quorum guard pods from output
2 parents 52d95b4 + b18b85a commit 34b6af5

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

modules/dr-restoring-cluster-state.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ static-pod-resources/kube-scheduler-pod-8/kube-scheduler-pod.yaml
163163
+
164164
[source,terminal]
165165
----
166-
[core@ip-10-0-143-125 ~]$ oc get pods -n openshift-etcd | grep etcd
166+
[core@ip-10-0-143-125 ~]$ oc get pods -n openshift-etcd | grep -v etcd-quorum-guard | grep etcd
167167
----
168168
+
169169
.Example output
@@ -282,7 +282,7 @@ In a terminal that has access to the cluster as a `cluster-admin` user, run the
282282
+
283283
[source,terminal]
284284
----
285-
$ oc get pods -n openshift-etcd | grep etcd
285+
$ oc get pods -n openshift-etcd | grep -v etcd-quorum-guard | grep etcd
286286
----
287287
+
288288
.Example output

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ ip-10-0-154-204.ec2.internal Ready master 6h13m v1.20.0
103103
+
104104
[source,terminal]
105105
----
106-
$ oc get pods -n openshift-etcd | grep etcd
106+
$ oc get pods -n openshift-etcd | grep -v etcd-quorum-guard | grep etcd
107107
----
108108
+
109109
.Example output

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

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

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ In a terminal that has access to the cluster as a `cluster-admin` user, run the
2929
+
3030
[source,terminal]
3131
----
32-
$ oc get pods -n openshift-etcd | grep etcd
32+
$ oc get pods -n openshift-etcd | grep -v etcd-quorum-guard | grep etcd
3333
----
3434
+
3535
.Example output
@@ -314,7 +314,7 @@ In a terminal that has access to the cluster as a `cluster-admin` user, run the
314314
+
315315
[source,terminal]
316316
----
317-
$ oc get pods -n openshift-etcd | grep etcd
317+
$ oc get pods -n openshift-etcd | grep -v etcd-quorum-guard | grep etcd
318318
----
319319
+
320320
.Example output

0 commit comments

Comments
 (0)