gcloud beta container bare-metal admin-clusters update (ADMIN_CLUSTER : --location=LOCATION) [--async] [--binauthz-evaluation-mode=BINAUTHZ_EVALUATION_MODE] [--description=DESCRIPTION] [--enable-application-logs] [--island-mode-service-address-cidr-blocks=SERVICE_ADDRESS,[…]] [--login-user=LOGIN_USER] [--maintenance-address-cidr-blocks=[MAINTENANCE_ADDRESS_CIDR_BLOCKS,…]] [--max-pods-per-node=MAX_PODS_PER_NODE] [--validate-only] [--version=VERSION] [--api-server-args=[KEY=VALUE,…] --control-plane-node-configs=[labels=LABELS],[node-ip=NODE-IP] --control-plane-node-labels=[KEY=VALUE,…] --control-plane-node-taints=[KEY=VALUE:EFFECT,…]] [--no-proxy=[NO_PROXY,…] --uri=URI] [GCLOUD_WIDE_FLAG …]
(BETA) Update an Anthos on bare metal admin cluster.
my-cluster
managed in location us-west1, run:
gcloud beta container bare-metal admin-clusters update my-cluster --location=us-west1
To set the project attribute:
admin_cluster on the command line with a fully
specified name;
--project on the command line;
core/project.
ADMIN_CLUSTER
To set the admin_cluster attribute:
admin_cluster on the command line.
--location=LOCATIONlocation attribute:
admin_cluster on the command line with a fully
specified name;
--location on the command line;
container_bare_metal/location.
--async--binauthz-evaluation-mode=BINAUTHZ_EVALUATION_MODEBINAUTHZ_EVALUATION_MODE must be one of:
DISABLED, PROJECT_SINGLETON_POLICY_ENFORCE.
--description=DESCRIPTION--enable-application-logs--island-mode-service-address-cidr-blocks=SERVICE_ADDRESS,[…]--login-user=LOGIN_USER--maintenance-address-cidr-blocks=[MAINTENANCE_ADDRESS_CIDR_BLOCKS,…]--max-pods-per-node=MAX_PODS_PER_NODE--validate-only--version=VERSION--api-server-args=[KEY=VALUE,…]--control-plane-node-configs=[labels=LABELS],[node-ip=NODE-IP]--control-plane-node-labels=[KEY=VALUE,…]--control-plane-node-taints=[KEY=VALUE:EFFECT,…]--no-proxy=[NO_PROXY,…]--uri=URI--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 container bare-metal admin-clusters updategcloud alpha container bare-metal admin-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.