mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-10 11:21:48 +00:00
225 lines
7.9 KiB
Text
225 lines
7.9 KiB
Text
NAME
|
|
gcloud alpha container vmware clusters update - update an Anthos cluster on
|
|
VMware
|
|
|
|
SYNOPSIS
|
|
gcloud alpha container vmware clusters update
|
|
(CLUSTER : --location=LOCATION) [--admin-users=ADMIN_USERS] [--async]
|
|
[--description=DESCRIPTION]
|
|
[--metal-lb-config-from-file=METAL_LB_CONFIG_FROM_FILE]
|
|
[--static-ip-config-from-file=STATIC_IP_CONFIG_FROM_FILE]
|
|
[--version=VERSION]
|
|
[--cpus=CPUS --memory=MEMORY --disable-auto-resize
|
|
| --enable-auto-resize] [--disable-aag-config | --enable-aag-config]
|
|
[--disable-auto-repair | --enable-auto-repair]
|
|
[--disable-vsphere-csi | --enable-vsphere-csi] [GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
(ALPHA) Update an Anthos cluster on VMware.
|
|
|
|
EXAMPLES
|
|
To update a cluster named my-cluster managed in location us-west1, run:
|
|
|
|
$ gcloud alpha container vmware 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_vmware/location.
|
|
|
|
FLAGS
|
|
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.
|
|
|
|
--async
|
|
Return immediately, without waiting for the operation in progress to
|
|
complete.
|
|
|
|
--description=DESCRIPTION
|
|
Description for the resource.
|
|
|
|
Anthos on VMware cluster load balancer configurations
|
|
|
|
Populate one of the load balancers.
|
|
|
|
MetalLB Configuration
|
|
|
|
--metal-lb-config-from-file=METAL_LB_CONFIG_FROM_FILE
|
|
Path of the YAML/JSON file that contains the MetalLB
|
|
configurations.
|
|
|
|
Examples:
|
|
|
|
metalLBConfig:
|
|
addressPools:
|
|
- pool: lb-test-ip
|
|
addresses:
|
|
- 10.251.133.79/32
|
|
- 10.251.133.80/32
|
|
avoidBuggyIPs: True
|
|
manualAssign: False
|
|
- pool: ingress-ip
|
|
addresses:
|
|
- 10.251.133.70/32
|
|
avoidBuggyIPs: False
|
|
manualAssign: True
|
|
|
|
List of supported fields in metalLBConfig
|
|
|
|
KEY VALUE NOTE
|
|
addressPools one or more addressPools required, mutable
|
|
|
|
List of supported fields in addressPools
|
|
|
|
KEY VALUE NOTE
|
|
pool string required, mutable
|
|
addresses one or more IP ranges required, mutable
|
|
avoidBuggyIPs bool optional, mutable,
|
|
defaults to False
|
|
manualAssign bool optional, mutable,
|
|
defaults to False
|
|
|
|
VMware User Cluster network configurations
|
|
|
|
IP configuration used by the VMware User Cluster
|
|
|
|
Static IP configuration group
|
|
|
|
--static-ip-config-from-file=STATIC_IP_CONFIG_FROM_FILE
|
|
Path of the YAML/JSON file that contains the static IP
|
|
configurations, used by Anthos on VMware user cluster node pools.
|
|
|
|
Examples:
|
|
|
|
staticIPConfig:
|
|
ipBlocks:
|
|
- gateway: 10.251.31.254
|
|
netmask: 255.255.252.0
|
|
ips:
|
|
- hostname: hostname-1
|
|
ip: 1.1.1.1
|
|
- hostname: hostname-2
|
|
ip: 2.2.2.2
|
|
- hostname: hostname-3
|
|
ip: 3.3.3.3
|
|
- hostname: hostname-4
|
|
ip: 4.4.4.4
|
|
|
|
List of supported fields in staticIPConfig
|
|
|
|
KEY VALUE NOTE
|
|
ipBlocks one or more ipBlocks required, mutable
|
|
|
|
List of supported fields in ipBlocks
|
|
|
|
KEY VALUE NOTE
|
|
gateway IP address required, immutable
|
|
netmask IP address required, immutable
|
|
ips one or more ips required, mutable
|
|
|
|
List of supported fields in ips
|
|
|
|
KEY VALUE NOTE
|
|
hostname string optional, immutable
|
|
ip IP address required, immutable
|
|
|
|
New ips fields can be added, existing ips fields cannot be
|
|
removed or updated.
|
|
|
|
--version=VERSION
|
|
Anthos Cluster on VMware version for the user cluster resource
|
|
|
|
Control plane node configurations
|
|
|
|
--cpus=CPUS
|
|
Number of CPUs for each admin cluster node that serve as control
|
|
planes for this VMware user cluster. (default: 4 CPUs)
|
|
|
|
--memory=MEMORY
|
|
Megabytes of memory for each admin cluster node that serves as a
|
|
control plane for this VMware User Cluster (default: 8192 MB memory).
|
|
|
|
Auto resize configurations
|
|
|
|
At most one of these can be specified:
|
|
|
|
--disable-auto-resize
|
|
Disable controle plane node auto resize.
|
|
|
|
--enable-auto-resize
|
|
Enable controle plane node auto resize.
|
|
|
|
Anti-affinity group configurations
|
|
|
|
At most one of these can be specified:
|
|
|
|
--disable-aag-config
|
|
If set, spread nodes across at least three physical hosts (requires
|
|
at least three hosts). Enabled by default.
|
|
|
|
--enable-aag-config
|
|
If set, enable anti-affinity group config.
|
|
|
|
Auto-repair configurations
|
|
|
|
At most one of these can be specified:
|
|
|
|
--disable-auto-repair
|
|
If set, disables auto repair.
|
|
|
|
--enable-auto-repair
|
|
If set, deploy the cluster-health-controller.
|
|
|
|
Storage configurations
|
|
|
|
At most one of these can be specified:
|
|
|
|
--disable-vsphere-csi
|
|
If set, vSphere CSI components are not deployed in the VMware User
|
|
Cluster. Enabled by default.
|
|
|
|
--enable-vsphere-csi
|
|
If set, vSphere CSI components are deployed in the VMware User
|
|
Cluster.
|
|
|
|
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.
|
|
|