@@ -20,6 +20,16 @@ export CO_APISERVER_URL=https://10.104.47.110:8443
2020pgo version
2121....
2222
23+ == Cluster Names
24+
25+ Many of the pgo commands take in a cluster name, in some cases
26+ the special name of *all* is accepted which will cause the
27+ command to be applied to all PostgreSQL clusters. For
28+ example:
29+ ....
30+ pgo df all
31+ ....
32+
2333== General
2434
2535=== Operator Version
@@ -309,7 +319,7 @@ the selected cluster, but will not delete the data or the backups unless specifi
309319
310320==== Syntax
311321
312- $ pgo delete cluster NAME [FLAGS]
322+ $ pgo delete cluster NAME|all [FLAGS]
313323
314324==== Flags
315325
@@ -377,7 +387,7 @@ any and all specified options (such as whether crunchy_collect is enabled).
377387
378388==== Syntax
379389
380- $ pgo show cluster NAME [FLAGS]
390+ $ pgo show cluster NAME|all [FLAGS]
381391
382392==== Flags
383393
@@ -439,7 +449,7 @@ out as connections are tried, along with the connection status.
439449
440450==== Syntax
441451
442- $ pgo test NAME [FLAGS]
452+ $ pgo test NAME|all [FLAGS]
443453
444454==== Flags
445455
@@ -1000,7 +1010,7 @@ input being valid.
10001010
10011011==== Syntax
10021012
1003- $ pgo label [NAME] [FLAGS]
1013+ $ pgo label [NAME]|all [FLAGS]
10041014
10051015==== Flags
10061016
@@ -1033,11 +1043,12 @@ pgo label mycluster --label=env=research
10331043Or if you wanted to apply if to a selection of clusters:
10341044....
10351045pgo label --label=env=research --selector=project=xray
1046+ pgo label all --label=env=research
10361047....
10371048
10381049In the first example, a label of *env=research* is applied to the cluster
10391050*mycluster*. The second example will apply the label to any clusters that
1040- have an existing label of *project=xray* applied.
1051+ have an existing label of *project=xray* applied or to all clusters .
10411052
10421053=== Creating SQL Policies
10431054
@@ -1131,6 +1142,7 @@ pgo show cluster --selector=policy1=pgpolicy
11311142To delete a policy use the following form:
11321143....
11331144pgo delete policy policy1
1145+ pgo delete policy all
11341146....
11351147
11361148=== Loading Data
0 commit comments