1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-18 06:47:12 +00:00

gcloud: Wed Feb 15 10:13:15 UTC 2023

This commit is contained in:
Automated 2023-02-15 10:13:15 +00:00
parent 02b395b082
commit 78fb6d9419
375 changed files with 5899 additions and 1603 deletions

View file

@ -8,8 +8,10 @@ SYNOPSIS
(--admin-cluster-membership=ADMIN_CLUSTER_MEMBERSHIP
: --admin-cluster-membership-location=ADMIN_CLUSTER_MEMBERSHIP_LOCATION --admin-cluster-membership-project=ADMIN_CLUSTER_MEMBERSHIP_PROJECT)
((--control-plane-vip=CONTROL_PLANE_VIP --ingress-vip=INGRESS_VIP)
(--metal-lb-config-from-file=METAL_LB_CONFIG_FROM_FILE
: --control-plane-node-port=CONTROL_PLANE_NODE_PORT
(--metal-lb-config-address-pools=[addresses=ADDRESSES],
[avoid-buggy-ips=AVOID-BUGGY-IPS],
[manual-assign=MANUAL-ASSIGN],[pool=POOL]
| --control-plane-node-port=CONTROL_PLANE_NODE_PORT
--ingress-http-node-port=INGRESS_HTTP_NODE_PORT
--ingress-https-node-port=INGRESS_HTTPS_NODE_PORT
--konnectivity-server-node-port=KONNECTIVITY_SERVER_NODE_PORT
@ -21,11 +23,11 @@ SYNOPSIS
: --dns-search-domains=[DNS_SEARCH_DOMAINS,...]
--dns-servers=[DNS_SERVERS,...]
--ntp-servers=[NTP_SERVERS,...] --enable-dhcp
| --static-ip-config-from-file=STATIC_IP_CONFIG_FROM_FILE)
[--admin-users=ADMIN_USERS] [--annotations=[KEY=VALUE,...]] [--async]
[--description=DESCRIPTION] [--disable-aag-config]
[--disable-vsphere-csi] [--enable-auto-repair] [--enable-vm-tracking]
[--validate-only] [--version=VERSION]
| --static-ip-config-ip-blocks=[gateway=GATEWAY],
[ips=IPS],[netmask=NETMASK]) [--admin-users=ADMIN_USERS]
[--annotations=[KEY=VALUE,...]] [--async] [--description=DESCRIPTION]
[--disable-aag-config] [--disable-vsphere-csi] [--enable-auto-repair]
[--enable-vm-tracking] [--validate-only] [--version=VERSION]
[--cpus=CPUS --enable-auto-resize --memory=MEMORY --replicas=REPLICAS]
[--enable-advanced-networking --enable-dataplane-v2]
[GCLOUD_WIDE_FLAG ...]
@ -126,40 +128,22 @@ REQUIRED FLAGS
MetalLB Configuration
--metal-lb-config-from-file=METAL_LB_CONFIG_FROM_FILE
Path of the YAML/JSON file that contains the MetalLB
configurations.
At most one of these can be specified:
--metal-lb-config-address-pools=[addresses=ADDRESSES],[avoid-buggy-ips=AVOID-BUGGY-IPS],[manual-assign=MANUAL-ASSIGN],[pool=POOL]
MetalLB load balancer 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
To specify MetalLB load balancer configurations for two address
pools pool1 and pool2,
List of supported fields in metalLBConfig
$ gcloud gcloud alpha container vmware clusters create
--metal-lb-config-address-pools 'pool=pool1,avoid-buggy-ips=True,manual-assign=True,addresses=192.168.1.1/32;192.168.1.2-192.168.1.3'
--metal-lb-config-address-pools 'pool=pool2,avoid-buggy-ips=False,manual-assign=False,addresses=192.168.2.1/32;192.168.2.2-192.168.2.3'
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
Use quote around the flag value to escape semicolon in the
terminal.
Manual load balancer configuration
@ -231,46 +215,21 @@ REQUIRED FLAGS
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.
At most one of these can be specified:
Examples:
--static-ip-config-ip-blocks=[gateway=GATEWAY],[ips=IPS],[netmask=NETMASK]
Static IP configurations.
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
Example:
List of supported fields in staticIPConfig
To specify two Static IP blocks,
KEY VALUE NOTE
ipBlocks one or more ipBlocks required, mutable
$ gcloud gcloud alpha container vmware clusters create
--static-ip-config-ip-blocks 'gateway=192.168.0.1,netmask=255.255.255.0,ips=hostname-1:1.1.1.1;hostname-2:2.2.2.2'
--static-ip-config-ip-blocks 'gateway=192.168.1.1,netmask=255.255.0.0,ips=hostname-3:3.3.3.3;hostname-4:4.4.4.4'
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.
Use quote around the flag value to escape semicolon in the
terminal.
OPTIONAL FLAGS
User cluster authorization configurations to bootstrap onto the admin

View file

@ -4,33 +4,58 @@ NAME
SYNOPSIS
gcloud alpha container vmware clusters query-version-config
(--cluster=CLUSTER
: [--admin-cluster-membership=ADMIN_CLUSTER_MEMBERSHIP
: --admin-cluster-membership-location=ADMIN_CLUSTER_MEMBERSHIP_LOCATION; default="global" --admin-cluster-membership-project=ADMIN_CLUSTER_MEMBERSHIP_PROJECT])
[--location=LOCATION] [GCLOUD_WIDE_FLAG ...]
[--location=LOCATION]
[--cluster=CLUSTER
| [--admin-cluster-membership=ADMIN_CLUSTER_MEMBERSHIP
: --admin-cluster-membership-location=ADMIN_CLUSTER_MEMBERSHIP_LOCATION; default="global" --admin-cluster-membership-project=ADMIN_CLUSTER_MEMBERSHIP_PROJECT]]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Query versions for creating or upgrading an Anthos on VMware user
cluster.
EXAMPLES
To query versions for creating a cluster with an admin cluster membership
named my-admin-cluster-membership managed in project
my-admin-cluster-project run:
To query all available versions in location us-west1, run:
$ gcloud alpha container vmware clusters query-version-config \
--location=us-west1
To query versions for creating a cluster with an admin cluster membership
named my-admin-cluster-membership managed in project
my-admin-cluster-project and location us-west, run:
$ gcloud alpha container vmware clusters query-version-config \
--location=us-west1 \
--admin-cluster-membership=my-admin-cluster-membership \
--admin-cluster-membership-project=my-admin-cluster-project
To query versions for upgrading a user cluster named my-user-cluster, run:
To query versions for upgrading a user cluster named my-user-cluster in
location us-west1, run:
$ gcloud alpha container vmware clusters query-version-config \
--cluster=my-user-cluster
--location=us-west1 --cluster=my-user-cluster
FLAGS
Location resource - Google Cloud location to query versions. This
represents a Cloud 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 --location on the command line with a fully
specified name;
◆ set the property container_vmware/location with a fully specified
name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
--location=LOCATION
ID of the location or fully qualified identifier for the location. To
set the location attribute:
▸ provide the argument --location on the command line;
▸ set the property container_vmware/location.
REQUIRED FLAGS
Use cases for querying versions.
Exactly one of these must be specified:
At most one of these can be specified:
Upgrade an Anthos on VMware user cluster use case.
@ -87,24 +112,6 @@ REQUIRED FLAGS
◇ provide the argument --project on the command line;
◇ set the property core/project.
OPTIONAL FLAGS
Location resource - Google Cloud location to query version configuration.
This represents a Cloud 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 --location on the command line with a fully
specified name;
◆ set the property container_vmware/location with a fully specified
name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
--location=LOCATION
ID of the location or fully qualified identifier for the location. To
set the location attribute:
▸ provide the argument --location on the command line;
▸ set the property container_vmware/location.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,

View file

@ -6,9 +6,11 @@ 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]
[--metal-lb-config-address-pools=[addresses=ADDRESSES],
[avoid-buggy-ips=AVOID-BUGGY-IPS],
[manual-assign=MANUAL-ASSIGN],[pool=POOL]]
[--static-ip-config-ip-blocks=[gateway=GATEWAY],
[ips=IPS],[netmask=NETMASK]] [--version=VERSION]
[--cpus=CPUS --memory=MEMORY --disable-auto-resize
| --enable-auto-resize] [--disable-aag-config | --enable-aag-config]
[--disable-auto-repair | --enable-auto-repair]
@ -71,40 +73,22 @@ FLAGS
MetalLB Configuration
--metal-lb-config-from-file=METAL_LB_CONFIG_FROM_FILE
Path of the YAML/JSON file that contains the MetalLB
configurations.
At most one of these can be specified:
--metal-lb-config-address-pools=[addresses=ADDRESSES],[avoid-buggy-ips=AVOID-BUGGY-IPS],[manual-assign=MANUAL-ASSIGN],[pool=POOL]
MetalLB load balancer 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
To specify MetalLB load balancer configurations for two address
pools pool1 and pool2,
List of supported fields in metalLBConfig
$ gcloud gcloud alpha container vmware clusters update
--metal-lb-config-address-pools 'pool=pool1,avoid-buggy-ips=True,manual-assign=True,addresses=192.168.1.1/32;192.168.1.2-192.168.1.3'
--metal-lb-config-address-pools 'pool=pool2,avoid-buggy-ips=False,manual-assign=False,addresses=192.168.2.1/32;192.168.2.2-192.168.2.3'
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
Use quote around the flag value to escape semicolon in the
terminal.
VMware User Cluster network configurations
@ -112,46 +96,21 @@ FLAGS
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.
At most one of these can be specified:
Examples:
--static-ip-config-ip-blocks=[gateway=GATEWAY],[ips=IPS],[netmask=NETMASK]
Static IP configurations.
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
Example:
List of supported fields in staticIPConfig
To specify two Static IP blocks,
KEY VALUE NOTE
ipBlocks one or more ipBlocks required, mutable
$ gcloud gcloud alpha container vmware clusters update
--static-ip-config-ip-blocks 'gateway=192.168.0.1,netmask=255.255.255.0,ips=hostname-1:1.1.1.1;hostname-2:2.2.2.2'
--static-ip-config-ip-blocks 'gateway=192.168.1.1,netmask=255.255.0.0,ips=hostname-3:3.3.3.3;hostname-4:4.4.4.4'
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.
Use quote around the flag value to escape semicolon in the
terminal.
--version=VERSION
Anthos Cluster on VMware version for the user cluster resource