Skip to content

Commit 9284a7b

Browse files
command corrections (#2737)
1 parent e8101c2 commit 9284a7b

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

content/operate/kubernetes/active-active/edit-clusters.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ To communicate with other clusters, all participating clusters need access to th
140140
1. On each of the other participating clusters, verify the status is `active` and the spec status is `Valid` and the cluster was removed.
141141

142142
```sh
143-
kubectl get reaadb <reaadb-name -o=jasonpath=`{.status}`
143+
kubectl get reaadb <reaadb-name> -o=jsonpath='{.status}'
144144
```
145145

146146
The output should look like this:
@@ -151,7 +151,12 @@ To communicate with other clusters, all participating clusters need access to th
151151

152152
1. On the removed participating cluster, list all REAADB resources on the cluster to verify they were deleted.
153153

154-
155154
```sh
156-
kubectl get reaadb -o+jasonpath=`{range.items[*]}{.metadata.name}`
155+
kubectl get reaadb -o jsonpath='{range .items[*]}{.metadata.name}{"\n"}{end}'
157156
```
157+
158+
1. List the status of all the participating clusters.
159+
160+
```sh
161+
kubectl get reaadb <reaadb-name> -o=jsonpath='{.status.participatingClusters}'
162+
```

0 commit comments

Comments
 (0)