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

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