1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-17 06:11:59 +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

@ -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

View file

@ -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.

View file

@ -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,

View file

@ -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.