1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-12 16:08:31 +00:00
gcloud-help/gcloud/alpha/container/bare-metal/clusters/update
2023-03-08 10:34:05 +00:00

183 lines
6.8 KiB
Text

NAME
gcloud alpha container bare-metal clusters update - update an Anthos
cluster on bare metal
SYNOPSIS
gcloud alpha container bare-metal clusters update
(CLUSTER : --location=LOCATION) [--admin-users=ADMIN_USERS]
[--allow-missing] [--async] [--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,
...]] [--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,...]]
[--metal-lb-address-pools=[addresses=ADDRESSES],
[avoid-buggy-ips=AVOID-BUGGY-IPS],
[manual-assign=MANUAL-ASSIGN],[pool=POOL]
--metal-lb-load-balancer-node-configs=[labels=LABELS],
[node-ip=NODE-IP]
--metal-lb-load-balancer-node-labels=[KEY=VALUE,...]
--metal-lb-load-balancer-node-taints=[KEY=VALUE:EFFECT,...]]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Update an Anthos cluster on bare metal.
EXAMPLES
To update a cluster named my-cluster managed in location us-west1, run:
$ gcloud alpha container bare-metal clusters update my-cluster \
--location=us-west1
POSITIONAL ARGUMENTS
Cluster resource - cluster to update The arguments in this group can be
used to specify the attributes of this resource. (NOTE) Some attributes
are not given arguments in this group but can be set in other ways. To set
the project attribute:
◆ provide the argument cluster on the command line with a fully
specified name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
This must be specified.
CLUSTER
ID of the cluster or fully qualified identifier for the cluster. To
set the cluster attribute:
▸ provide the argument cluster on the command line.
This positional argument must be specified if any of the other
arguments in this group are specified.
--location=LOCATION
Google Cloud location for the cluster. To set the location attribute:
▸ provide the argument cluster on the command line with a fully
specified name;
▸ provide the argument --location on the command line;
▸ set the property container_bare_metal/location.
FLAGS
Anthos on bare metal cluster security configuration.
User cluster authorization configurations to bootstrap onto the admin
cluster
--admin-users=ADMIN_USERS
Users that will be granted the cluster-admin role on the cluster,
providing full access to the cluster.
--allow-missing
If set, and the Anthos cluster on bare metal is not found, the update
request will try to create a new cluster with the provided
configuration.
--async
Return immediately, without waiting for the operation in progress to
complete.
--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 to system 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 user 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.
--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 user 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 load balancer configuration.
Populate one of the load balancers.
MetalLB Configuration
MetalLB address pools configuration.
At most one of these can be specified:
--metal-lb-address-pools=[addresses=ADDRESSES],[avoid-buggy-ips=AVOID-BUGGY-IPS],[manual-assign=MANUAL-ASSIGN],[pool=POOL]
MetalLB address pools configuration.
Anthos on bare metal node pool configuration for MetalLB load
balancer nodes.
MetalLB Node Pool configuration.
Populate MetalLB load balancer node config.
At most one of these can be specified:
--metal-lb-load-balancer-node-configs=[labels=LABELS],[node-ip=NODE-IP]
MetalLB load balancer node configuration.
--metal-lb-load-balancer-node-labels=[KEY=VALUE,...]
Labels assigned to nodes of a MetalLB node pool.
--metal-lb-load-balancer-node-taints=[KEY=VALUE:EFFECT,...]
Node taint applied to every node in a MetalLB node pool.
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.