gcloud beta anthos export - export current configuration of an Anthos cluster
gcloud beta anthos export CLUSTER [--project=PROJECT_ID] [--location=LOCATION] [--output-directory=OUTPUT-DIR] [GCLOUD_WIDE_FLAG ...]
(BETA) Export current configuration of an Anthos cluster.
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
- CLUSTER
The cluster name from which to export the configurations.
- --project=PROJECT_ID
Project ID. Overrides the default core/project property value for this command invocation.
- --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
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.
This command is currently in beta and might change without notice. This variant is also available:
$ gcloud alpha anthos export