mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 06:47:12 +00:00
gcloud: Wed Mar 9 08:39:30 UTC 2022
This commit is contained in:
parent
5829e94e90
commit
7d82d0fc32
210 changed files with 7192 additions and 887 deletions
27
gcloud/alpha/anthos/config/sync/resources/help
Normal file
27
gcloud/alpha/anthos/config/sync/resources/help
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
NAME
|
||||
gcloud alpha anthos config sync resources - anthos config sync resources
|
||||
command group
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha anthos config sync resources COMMAND [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Anthos config sync resources command group.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --help.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
COMMANDS
|
||||
COMMAND is one of the following:
|
||||
|
||||
list
|
||||
(ALPHA) List resources and their status that are synced by Config Sync.
|
||||
|
||||
NOTES
|
||||
This command is currently in alpha and might change without notice. If this
|
||||
command fails with API permission errors despite specifying the correct
|
||||
project, you might be trying to access an API with an invitation-only early
|
||||
access allowlist.
|
||||
|
||||
70
gcloud/alpha/anthos/config/sync/resources/list
Normal file
70
gcloud/alpha/anthos/config/sync/resources/list
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
NAME
|
||||
gcloud alpha anthos config sync resources list - list resources and their
|
||||
status that are synced by Config Sync
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha anthos config sync resources list [--cluster=CLUSTER]
|
||||
[--membership=MEMBERSHIP] [--sync-name=SYNC_NAME]
|
||||
[--sync-namespace=SYNC_NAMESPACE] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) List resources and their status that are synced by Config Sync.
|
||||
|
||||
EXAMPLES
|
||||
To list all managed resources in the current project, run:
|
||||
|
||||
$ gcloud alpha anthos config sync resources list list
|
||||
|
||||
To list all managed resources in a specific Config Controller cluster, run:
|
||||
|
||||
$ gcloud alpha anthos config sync resources list list \
|
||||
--cluster=<CLUSTER>
|
||||
|
||||
To list managed resources from a Git repo synced by Config Sync across
|
||||
multiple clusters, run:
|
||||
|
||||
$ gcloud alpha anthos config sync resources list list \
|
||||
--sync-name=root-sync --sync-namespace=config-management-system
|
||||
|
||||
To list managed resources from a Git repo synced by Config Sync from a
|
||||
specific cluster, run:
|
||||
|
||||
$ gcloud alpha anthos config sync resources list list \
|
||||
--sync-namespace=<NAMESPACE> --sync-name=repo-sync \
|
||||
--cluster=<CLUSTER>
|
||||
|
||||
FLAGS
|
||||
--cluster=CLUSTER
|
||||
The cluster name or the membership name that a repository is synced to.
|
||||
|
||||
--membership=MEMBERSHIP
|
||||
The membership name that the listed Config Sync repos are synced to. A
|
||||
membership is for a registered cluster to a fleet. It supports a single
|
||||
membership or multiple memberships with the format
|
||||
membership1,membership2 or membership.
|
||||
|
||||
--sync-name=SYNC_NAME
|
||||
Name of the RootSync or RepoSync CR to sync a repository.
|
||||
|
||||
--sync-namespace=SYNC_NAMESPACE
|
||||
Namespace of the RootSync or RepoSync CR to sync a repository.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
--help, --impersonate-service-account, --log-http, --project, --quiet,
|
||||
--trace-token, --user-output-enabled, --verbosity.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
PREREQUISITES
|
||||
Please setup Connect Gateway in order to use this command with non-GKE
|
||||
registered clusters. The instructions can be found at
|
||||
https://cloud.google.com/anthos/multicluster-management/gateway/setup.
|
||||
|
||||
NOTES
|
||||
This command is currently in alpha and might change without notice. If this
|
||||
command fails with API permission errors despite specifying the correct
|
||||
project, you might be trying to access an API with an invitation-only early
|
||||
access allowlist.
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue