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

53 lines
1.8 KiB
Text

NAME
gcloud alpha anthos export - export current configuration of an Anthos
cluster
SYNOPSIS
gcloud alpha anthos export CLUSTER [--project=PROJECT_ID]
[--location=LOCATION] [--output-directory=OUTPUT-DIR]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) 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 alpha 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 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. This variant is also available:
$ gcloud beta anthos export