gcloud container attached clusters update (CLUSTER : --location=LOCATION) [--annotations=ANNOTATION,[ANNOTATION,…]] [--async] [--binauthz-evaluation-mode=BINAUTHZ_EVALUATION_MODE] [--clear-description] [--description=DESCRIPTION] [--logging=COMPONENT,[COMPONENT,…]] [--platform-version=PLATFORM_VERSION] [--validate-only] [--admin-groups=[GROUP,…] | --clear-admin-groups] [--admin-users=[USER,…] | --clear-admin-users] [--disable-cloud-monitoring | --enable-cloud-monitoring] [--disable-managed-prometheus | --enable-managed-prometheus] [--proxy-secret-name=PROXY_SECRET_NAME --proxy-secret-namespace=PROXY_SECRET_NAMESPACE] [GCLOUD_WIDE_FLAG …]
my-cluster
managed in location us-west1, run:
gcloud container attached clusters update my-cluster --location=us-west1 --description=testcluster
To set the project attribute:
cluster on the command line with a fully
specified name;
--project on the command line;
core/project.
CLUSTER
To set the cluster attribute:
cluster on the command line.
--location=LOCATIONlocation attribute:
cluster on the command line with a fully
specified name;
--location on the command line;
container_attached/location.
--annotations=ANNOTATION,[ANNOTATION,…]--async--binauthz-evaluation-mode=BINAUTHZ_EVALUATION_MODEBINAUTHZ_EVALUATION_MODE must be one of:
DISABLED, PROJECT_SINGLETON_POLICY_ENFORCE.
--clear-description--description=DESCRIPTION--logging=COMPONENT,[COMPONENT,…]Examples:
gcloud container attached clusters update --logging=SYSTEMgcloud container attached clusters update --logging=SYSTEM,WORKLOADgcloud container attached clusters update --logging=NONE
COMPONENT must be one of: NONE,
SYSTEM, WORKLOAD.
--platform-version=PLATFORM_VERSIONTo retrieve a list of valid versions, run:
gcloud alpha container attached get-server-config --location=LOCATIONLOCATION with the target Google
Cloud location for the cluster.
--validate-only--admin-groups=[GROUP,…]--clear-admin-groups--admin-users=[USER,…]--clear-admin-users--disable-cloud-monitoring--enable-cloud-monitoring--disable-managed-prometheus--enable-managed-prometheus--proxy-secret-name=PROXY_SECRET_NAME--proxy-secret-namespace=PROXY_SECRET_NAMESPACE--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.
gcloud alpha container attached clusters update
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.