Skip to content

Commit d6c406f

Browse files
authored
Merge pull request #55879 from kenneth-dsouza/grep-correction
OCPBUGS#7461: Correct grep command for cluster restore
2 parents 83cac87 + bc901bf commit d6c406f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/dr-restoring-cluster-state.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ $ sudo mv /etc/kubernetes/manifests/etcd-pod.yaml /tmp
6969
+
7070
[source,terminal]
7171
----
72-
$ sudo crictl ps | grep etcd | grep -v operator
72+
$ sudo crictl ps | grep etcd | egrep -v "operator|etcd-guard"
7373
----
7474
+
7575
The output of this command should be empty. If it is not empty, wait a few minutes and check again.
@@ -85,7 +85,7 @@ $ sudo mv /etc/kubernetes/manifests/kube-apiserver-pod.yaml /tmp
8585
+
8686
[source,terminal]
8787
----
88-
$ sudo crictl ps | grep kube-apiserver | grep -v operator
88+
$ sudo crictl ps | grep kube-apiserver | egrep -v "operator|guard"
8989
----
9090
+
9191
The output of this command should be empty. If it is not empty, wait a few minutes and check again.

0 commit comments

Comments
 (0)