- NAME
-
- gcloud beta anthos export - export current configuration of an Anthos cluster
- SYNOPSIS
-
-
gcloud beta anthos exportCLUSTER[--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-dirusing 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/projectproperty 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 helpfor details. - NOTES
- This command is currently in beta and might change without notice. This variant
is also available:
gcloud alpha anthos export
gcloud beta anthos export
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-05-27 UTC.

