1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 18:45:13 +00:00
gcloud-help/gcloud/beta/anthos/export
2022-03-01 04:29:52 +00:00

51 lines
1.6 KiB
Text

NAME
gcloud beta anthos export - export current configuration of an Anthos
cluster
SYNOPSIS
gcloud beta anthos export CLUSTER [--project=PROJECT_ID]
[--location=LOCATION] [--output-directory=OUTPUT-DIR]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) Export current configuration of an Anthos cluster.
EXAMPLES
To export configuration from cluster 'my-cluster' to the local directory
my-dir using project 'my-project':
$ gcloud beta anthos export my-cluster --project=my-project \
--output-directory=my-dir
POSITIONAL ARGUMENTS
CLUSTER
The cluster name from which to export the configurations.
COMMONLY USED FLAGS
--project=PROJECT_ID
Project ID. Overrides the default core/project property value for this
command invocation.
OTHER FLAGS
--location=LOCATION
Specifies the Google Cloud location to use. If notspecified will use
the current compute/zone property.
--output-directory=OUTPUT-DIR
The output directory of the cluster resources. If empty will export
files to ./CLUSTER_NAME
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.
NOTES
This command is currently in beta and might change without notice. This
variant is also available:
$ gcloud alpha anthos export