gcloud container bare-metal admin-clusters update

NAME
gcloud container bare-metal admin-clusters update - update an Anthos on bare metal admin cluster
SYNOPSIS
gcloud 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]
DESCRIPTION
Update an Anthos on bare metal admin cluster.
EXAMPLES
To update a cluster namedmy-clustermanaged in locationus-west1, run:
gcloudcontainerbare-metaladmin-clustersupdatemy-cluster--location=us-west1
POSITIONAL ARGUMENTS
Admin cluster resource - admin cluster to update The arguments in this group canbe used to specify the attributes of this resource. (NOTE) Some attributes arenot given arguments in this group but can be set in other ways.

To set theproject attribute:

  • provide the argumentadmin_cluster on the command line with a fullyspecified name;
  • provide the argument--project on the command line;
  • set the propertycore/project.

This must be specified.

ADMIN_CLUSTER
ID of the admin_cluster or fully qualified identifier for the admin_cluster.

To set theadmin_cluster attribute:

  • provide the argumentadmin_cluster on the command line.

This positional argument must be specified if any of the other arguments in thisgroup are specified.

--location=LOCATION
Google Cloud location for the admin_cluster.

To set thelocation attribute:

  • provide the argumentadmin_cluster on the command line with a fullyspecified name;
  • provide the argument--location on the command line;
  • set the propertycontainer_bare_metal/location.
FLAGS
--async
Return immediately, without waiting for the operation in progress to complete.
--binauthz-evaluation-mode=BINAUTHZ_EVALUATION_MODE
Set Binary Authorization evaluation mode for this cluster.BINAUTHZ_EVALUATION_MODE must be one of:DISABLED,PROJECT_SINGLETON_POLICY_ENFORCE.
--description=DESCRIPTION
Description for the resource.
Anthos on bare metal cluster operations configuration.
--enable-application-logs
Whether collection of application logs/metrics should be enabled (in addition tosystem logs/metrics).
Populate one of the network configs.
Island mode CIDR network configuration.
--island-mode-service-address-cidr-blocks=SERVICE_ADDRESS,[…]
IPv4 address range for all services in the cluster.
Anthos on bare metal node access related settings for the admin cluster.
--login-user=LOGIN_USER
User name used to access node machines.
Anthos on bare metal cluster maintenance configuration.
--maintenance-address-cidr-blocks=[MAINTENANCE_ADDRESS_CIDR_BLOCKS,…]
IPv4 addresses to be placed into maintenance mode.
Anthos on bare metal admin cluster workload node configuration.
--max-pods-per-node=MAX_PODS_PER_NODE
Maximum number of pods a node can run.
--validate-only
If set, only validate the request, but do not actually perform the operation.
--version=VERSION
Anthos cluster on bare metal version for the admin cluster resource.
Anthos on bare metal cluster control plane configuration.
--api-server-args=[KEY=VALUE,…]
API Server argument configuration.
Anthos on bare metal cluster control plane node pool configuration.
Anthos on bare metal node pool configuration for control plane nodes.
Anthos on bare metal node configuration for control plane nodes.
Populate control plane node config.

At most one of these can be specified:

--control-plane-node-configs=[labels=LABELS],[node-ip=NODE-IP]
Control plane node configuration.
--control-plane-node-labels=[KEY=VALUE,…]
Labels assigned to nodes of a node pool.
--control-plane-node-taints=[KEY=VALUE:EFFECT,…]
Node taint applied to every Kubernetes node in a node pool.
Anthos on bare metal cluster proxy configuration.
--no-proxy=[NO_PROXY,…]
List of IPs, hostnames, and domains that should skip the proxy.
--uri=URI
Address of the proxy server.
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
These variants are also available:
gcloudalphacontainerbare-metaladmin-clustersupdate
gcloudbetacontainerbare-metaladmin-clustersupdate

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.