mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 14:56:05 +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 alpha container hub config-management status \
|
||||
--flatten=acm_status \
|
||||
--filter="acm_status.name:managed-cluster-a"
|
||||
|
||||
Use a regular expression to list status for multiple clusters:
|
||||
|
||||
$ gcloud alpha container hub config-management status \
|
||||
--flatten=acm_status \
|
||||
--filter="acm_status.name ~ managed-cluster.*"
|
||||
|
||||
List all clusters where current Config Sync Status is SYNCED:
|
||||
|
||||
$ gcloud alpha container hub 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 alpha container hub config-management status \
|
||||
--flatten=acm_status \
|
||||
--filter="acm_status.sync_branch:v1 AND \
|
||||
-acm_status.config_sync:SYNCED"
|
||||
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ REQUIRED FLAGS
|
|||
The --control-plane flag is now deprecated. Please use
|
||||
--management instead. See
|
||||
https://cloud.google.com/service-mesh/docs/managed/provision-managed-anthos-service-mesh.
|
||||
CONTROL_PLANE must be one of: automatic, manual.
|
||||
CONTROL_PLANE must be one of: automatic, manual, unspecified.
|
||||
|
||||
--management=MANAGEMENT
|
||||
The management mode to update to. MANAGEMENT must be one of:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue