mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-16 12:22:03 +00:00
gcloud: Wed Oct 2 09:51:07 UTC 2024
This commit is contained in:
parent
0a5b6f11af
commit
489be55d99
133 changed files with 4948 additions and 242 deletions
|
|
@ -30,22 +30,25 @@ EXAMPLES
|
|||
View the status for the cluster named managed-cluster-a:
|
||||
|
||||
$ gcloud beta container fleet config-management status \
|
||||
--flatten=acm_status \
|
||||
--filter="acm_status.name:managed-cluster-a"
|
||||
|
||||
Use a regular expression to list status for multiple clusters:
|
||||
|
||||
$ gcloud beta container fleet config-management status \
|
||||
--flatten=acm_status \
|
||||
--filter="acm_status.name ~ managed-cluster.*"
|
||||
|
||||
List all clusters where current Config Sync Status is SYNCED:
|
||||
|
||||
$ gcloud beta container fleet config-management status \
|
||||
--filter="acm_status.config_sync:SYNCED"
|
||||
--flatten=acm_status --filter="acm_status.config_sync:SYNCED"
|
||||
|
||||
List all the clusters where sync_branch is v1 and current Config Sync
|
||||
Status is not SYNCED:
|
||||
|
||||
$ gcloud beta container fleet config-management status \
|
||||
--flatten=acm_status \
|
||||
--filter="acm_status.sync_branch:v1 AND \
|
||||
-acm_status.config_sync:SYNCED"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue