mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 23:08:48 +00:00
gcloud: Wed Feb 15 10:13:15 UTC 2023
This commit is contained in:
parent
02b395b082
commit
78fb6d9419
375 changed files with 5899 additions and 1603 deletions
|
|
@ -10,7 +10,7 @@ SYNOPSIS
|
|||
--resource-group-id=RESOURCE_GROUP_ID
|
||||
--service-address-cidr-blocks=SERVICE_ADDRESS_CIDR_BLOCKS
|
||||
--ssh-public-key=SSH_PUBLIC_KEY --vnet-id=VNET_ID
|
||||
(--client=CLIENT : --azure-application-id=AZURE_APPLICATION_ID
|
||||
(--client=CLIENT | --azure-application-id=AZURE_APPLICATION_ID
|
||||
--azure-tenant-id=AZURE_TENANT_ID) [--admin-users=USER,[USER,...]]
|
||||
[--annotations=ANNOTATION,[ANNOTATION,...]] [--async]
|
||||
[--config-encryption-key-id=CONFIG_ENCRYPTION_KEY_ID]
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ SYNOPSIS
|
|||
[--validate-only] [--vm-size=VM_SIZE]
|
||||
[--annotations=ANNOTATION,[ANNOTATION,...] | --clear-annotations]
|
||||
[--clear-description | --description=DESCRIPTION]
|
||||
[--client=CLIENT : --azure-application-id=AZURE_APPLICATION_ID
|
||||
[--client=CLIENT | --azure-application-id=AZURE_APPLICATION_ID
|
||||
--azure-tenant-id=AZURE_TENANT_ID]
|
||||
[--disable-managed-prometheus | --enable-managed-prometheus]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
|
|
|||
|
|
@ -182,7 +182,7 @@ OPTIONAL FLAGS
|
|||
List of cluster-scoped resource types to be restored. Not specifying
|
||||
this means NO cluster resource will be restored. The format of a
|
||||
resource is "<group>/<kind>", e.g. storage.k8s.io/StorageClass for
|
||||
StorageClass.
|
||||
StorageClass. Use an empty string for core API group.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
|
|
|
|||
|
|
@ -187,7 +187,7 @@ FLAGS
|
|||
List of cluster-scoped resource types to be restored. Not specifying
|
||||
this means NO cluster resource will be restored. The format of a
|
||||
resource is "<group>/<kind>", e.g. storage.k8s.io/StorageClass for
|
||||
StorageClass.
|
||||
StorageClass. Use an empty string for core API group.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud alpha container bare-metal admin-clusters query-version-config
|
||||
--admin-cluster=ADMIN_CLUSTER [--location=LOCATION]
|
||||
[--admin-cluster=ADMIN_CLUSTER] [--location=LOCATION]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
|
|
@ -13,14 +13,15 @@ DESCRIPTION
|
|||
admin cluster.
|
||||
|
||||
EXAMPLES
|
||||
To query versions for creating an admin cluster, run:
|
||||
To query versions for creating an admin cluster in location us-west1, run:
|
||||
|
||||
$ gcloud alpha container bare-metal admin-clusters \ query-version-config
|
||||
$ gcloud alpha container bare-metal admin-clusters \ query-version-config --location=us-west1
|
||||
|
||||
To query versions for upgrading an admin cluster named my-admin-cluster,
|
||||
run:
|
||||
To query versions for upgrading an admin cluster named my-admin-cluster in
|
||||
location us-west1, run:
|
||||
|
||||
$ gcloud alpha container bare-metal admin-clusters \ query-version-config --admin-cluster=my-admin-cluster
|
||||
$ gcloud alpha container bare-metal admin-clusters \ query-version-config --location=us-west1 \
|
||||
--admin-cluster=my-admin-cluster
|
||||
|
||||
FLAGS
|
||||
Use cases for querying versions.
|
||||
|
|
@ -45,8 +46,8 @@ FLAGS
|
|||
admin_cluster. To set the admin_cluster attribute:
|
||||
◇ provide the argument --admin-cluster on the command line.
|
||||
|
||||
Location resource - Google Cloud location to query version configuration.
|
||||
This represents a Cloud resource. (NOTE) Some attributes are not given
|
||||
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
|
||||
|
|
|
|||
|
|
@ -10,19 +10,23 @@ SYNOPSIS
|
|||
(--control-plane-load-balancer-port=CONTROL_PLANE_LOAD_BALANCER_PORT
|
||||
(--control-plane-vip=CONTROL_PLANE_VIP
|
||||
--ingress-vip=INGRESS_VIP) (--enable-manual-lb
|
||||
: [--metal-lb-address-pools-from-file=METAL_LB_ADDRESS_POOLS_FROM_FILE : --metal-lb-load-balancer-node-configs-from-file=METAL_LB_LOAD_BALANCER_NODE_CONFIGS_FROM_FILE --metal-lb-load-balancer-node-labels=[KEY=VALUE,
|
||||
...] --metal-lb-load-balancer-node-taints=[KEY=VALUE:EFFECT,...]]))
|
||||
((((--control-plane-node-configs-from-file=CONTROL_PLANE_NODE_CONFIGS_FROM_FILE : --control-plane-node-labels=[KEY=VALUE,
|
||||
...] --control-plane-node-taints=[KEY=VALUE:EFFECT,...])))
|
||||
| [--metal-lb-address-pools-from-file=METAL_LB_ADDRESS_POOLS_FROM_FILE : --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,...]]))
|
||||
((((--control-plane-node-configs=[labels=LABELS],[node-ip=NODE-IP]
|
||||
: --control-plane-node-labels=[KEY=VALUE,...]
|
||||
--control-plane-node-taints=[KEY=VALUE:EFFECT,...])))
|
||||
: --api-server-args=[KEY=VALUE,...])
|
||||
(--island-mode-pod-address-cidr-blocks=POD_ADDRESS,[POD_ADDRESS,...]
|
||||
--island-mode-service-address-cidr-blocks=SERVICE_ADDRESS,[...])
|
||||
((--lvp-node-mounts-config-path=LVP_NODE_MOUNTS_CONFIG_PATH
|
||||
--lvp-node-mounts-config-storage-class=LVP_NODE_MOUNTS_CONFIG_STORAGE_CLASS) ((--lvp-share-path=LVP_SHARE_PATH --lvp-share-storage-class=LVP_SHARE_STORAGE_CLASS) : --shared-path-pv-count=SHARED_PATH_PV_COUNT))
|
||||
--admin-users=ADMIN_USERS
|
||||
--maintenance-address-cidr-blocks=[MAINTENANCE_ADDRESS_CIDR_BLOCKS,...]
|
||||
[--annotations=[KEY=VALUE,...]] [--async] [--description=DESCRIPTION]
|
||||
[--enable-application-logs] [--login-user=LOGIN_USER] [--validate-only]
|
||||
[--admin-users=ADMIN_USERS] [--annotations=[KEY=VALUE,...]] [--async]
|
||||
[--description=DESCRIPTION] [--enable-application-logs]
|
||||
[--login-user=LOGIN_USER]
|
||||
[--maintenance-address-cidr-blocks=[MAINTENANCE_ADDRESS_CIDR_BLOCKS,
|
||||
...]] [--validate-only]
|
||||
[--container-runtime=CONTAINER_RUNTIME
|
||||
--max-pods-per-node=MAX_PODS_PER_NODE]
|
||||
[--uri=URI : --no-proxy=[NO_PROXY,...]] [GCLOUD_WIDE_FLAG ...]
|
||||
|
|
@ -175,29 +179,12 @@ REQUIRED FLAGS
|
|||
|
||||
MetalLB Node Pool configuration.
|
||||
|
||||
--metal-lb-load-balancer-node-configs-from-file=METAL_LB_LOAD_BALANCER_NODE_CONFIGS_FROM_FILE
|
||||
Path of the YAML/JSON file that contains the Metal LB node
|
||||
configs.
|
||||
Populate MetalLB load balancer node config.
|
||||
|
||||
Examples:
|
||||
At most one of these can be specified:
|
||||
|
||||
nodeConfigs:
|
||||
- nodeIP: 10.200.0.10
|
||||
labels:
|
||||
node1: label1
|
||||
node2: label2
|
||||
- nodeIP: 10.200.0.11
|
||||
labels:
|
||||
node3: label3
|
||||
node4: label4
|
||||
|
||||
List of supported fields in nodeConfigs
|
||||
|
||||
KEY VALUE NOTE
|
||||
nodeIP string required,
|
||||
mutable
|
||||
labels one or more key-val pairs optional,
|
||||
mutable
|
||||
--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.
|
||||
|
|
@ -224,30 +211,12 @@ REQUIRED FLAGS
|
|||
|
||||
This must be specified.
|
||||
|
||||
--control-plane-node-configs-from-file=CONTROL_PLANE_NODE_CONFIGS_FROM_FILE
|
||||
Path of the YAML/JSON file that contains the control plane node
|
||||
configs.
|
||||
Populate control plane node config.
|
||||
|
||||
Examples:
|
||||
Exactly one of these must be specified:
|
||||
|
||||
nodeConfigs:
|
||||
- nodeIP: 10.200.0.10
|
||||
labels:
|
||||
node1: label1
|
||||
node2: label2
|
||||
- nodeIP: 10.200.0.11
|
||||
labels:
|
||||
node3: label3
|
||||
node4: label4
|
||||
|
||||
List of supported fields in nodeConfigs
|
||||
|
||||
KEY VALUE NOTE
|
||||
nodeIP string required, mutable
|
||||
labels one or more key-val pairs optional, mutable
|
||||
|
||||
This flag argument must be specified if any of the other
|
||||
arguments in this group are 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.
|
||||
|
|
@ -326,11 +295,6 @@ OPTIONAL FLAGS
|
|||
Users that will be granted the cluster-admin role on the cluster,
|
||||
providing full access to the cluster.
|
||||
|
||||
Anthos on bare metal cluster maintenance configuration.
|
||||
|
||||
--maintenance-address-cidr-blocks=[MAINTENANCE_ADDRESS_CIDR_BLOCKS,...]
|
||||
IPv4 addresses to be placed into maintenance mode.
|
||||
|
||||
--annotations=[KEY=VALUE,...]
|
||||
Annotations on the Anthos on bare metal resource.
|
||||
|
||||
|
|
@ -352,6 +316,11 @@ OPTIONAL FLAGS
|
|||
--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.
|
||||
|
|
|
|||
|
|
@ -4,33 +4,58 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud alpha container bare-metal 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 bare metal
|
||||
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 bare-metal 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 bare-metal 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 bare-metal 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_bare_metal/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_bare_metal/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 bare metal 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_bare_metal/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_bare_metal/location.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
|
|
|
|||
|
|
@ -10,11 +10,14 @@ SYNOPSIS
|
|||
[--maintenance-address-cidr-blocks=[MAINTENANCE_ADDRESS_CIDR_BLOCKS,
|
||||
...]] [--validate-only] [--version=VERSION]
|
||||
[--api-server-args=[KEY=VALUE,...]
|
||||
--control-plane-node-configs-from-file=CONTROL_PLANE_NODE_CONFIGS_FROM_FILE --control-plane-node-labels=[KEY=VALUE,
|
||||
...] --control-plane-node-taints=[KEY=VALUE:EFFECT,...]]
|
||||
--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-from-file=METAL_LB_ADDRESS_POOLS_FROM_FILE
|
||||
--metal-lb-load-balancer-node-configs-from-file=METAL_LB_LOAD_BALANCER_NODE_CONFIGS_FROM_FILE --metal-lb-load-balancer-node-labels=[KEY=VALUE,
|
||||
...] --metal-lb-load-balancer-node-taints=[KEY=VALUE:EFFECT,...]]
|
||||
--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
|
||||
|
|
@ -109,27 +112,12 @@ FLAGS
|
|||
|
||||
Anthos on bare metal node configuration for control plane nodes.
|
||||
|
||||
--control-plane-node-configs-from-file=CONTROL_PLANE_NODE_CONFIGS_FROM_FILE
|
||||
Path of the YAML/JSON file that contains the control plane node
|
||||
configs.
|
||||
Populate control plane node config.
|
||||
|
||||
Examples:
|
||||
At most one of these can be specified:
|
||||
|
||||
nodeConfigs:
|
||||
- nodeIP: 10.200.0.10
|
||||
labels:
|
||||
node1: label1
|
||||
node2: label2
|
||||
- nodeIP: 10.200.0.11
|
||||
labels:
|
||||
node3: label3
|
||||
node4: label4
|
||||
|
||||
List of supported fields in nodeConfigs
|
||||
|
||||
KEY VALUE NOTE
|
||||
nodeIP string required, mutable
|
||||
labels one or more key-val pairs optional, mutable
|
||||
--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.
|
||||
|
|
@ -177,29 +165,12 @@ FLAGS
|
|||
|
||||
MetalLB Node Pool configuration.
|
||||
|
||||
--metal-lb-load-balancer-node-configs-from-file=METAL_LB_LOAD_BALANCER_NODE_CONFIGS_FROM_FILE
|
||||
Path of the YAML/JSON file that contains the Metal LB node
|
||||
configs.
|
||||
Populate MetalLB load balancer node config.
|
||||
|
||||
Examples:
|
||||
At most one of these can be specified:
|
||||
|
||||
nodeConfigs:
|
||||
- nodeIP: 10.200.0.10
|
||||
labels:
|
||||
node1: label1
|
||||
node2: label2
|
||||
- nodeIP: 10.200.0.11
|
||||
labels:
|
||||
node3: label3
|
||||
node4: label4
|
||||
|
||||
List of supported fields in nodeConfigs
|
||||
|
||||
KEY VALUE NOTE
|
||||
nodeIP string required,
|
||||
mutable
|
||||
labels one or more key-val pairs optional,
|
||||
mutable
|
||||
--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.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue