1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-17 06:11:59 +00:00

gcloud: Fri Mar 24 11:31:22 UTC 2023

This commit is contained in:
Automated 2023-03-24 11:31:22 +00:00
parent a4bd29dd06
commit 4ccfc7a5e3
142 changed files with 4081 additions and 397 deletions

View file

@ -0,0 +1,241 @@
NAME
gcloud alpha container bare-metal admin-clusters create - create an Anthos
on bare metal admin cluster
SYNOPSIS
gcloud alpha container bare-metal admin-clusters create
(ADMIN_CLUSTER : --location=LOCATION) --version=VERSION
(--control-plane-load-balancer-port=CONTROL_PLANE_LOAD_BALANCER_PORT
--control-plane-vip=CONTROL_PLANE_VIP : --enable-manual-lb)
((((--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))
[--annotations=[KEY=VALUE,...]] [--async] [--description=DESCRIPTION]
[--enable-application-logs] [--login-user=LOGIN_USER]
[--maintenance-address-cidr-blocks=[MAINTENANCE_ADDRESS_CIDR_BLOCKS,
...]] [--max-pods-per-node=MAX_PODS_PER_NODE] [--validate-only]
[--uri=URI : --no-proxy=[NO_PROXY,...]] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Create an Anthos on bare metal admin cluster.
EXAMPLES
To create a cluster named my-cluster managed in location us-west1, run:
$ gcloud alpha container bare-metal admin-clusters create \
my-cluster --location=us-west1
POSITIONAL ARGUMENTS
Admin cluster resource - admin cluster to create 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 admin_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.
ADMIN_CLUSTER
ID of the admin_cluster or fully qualified identifier for the
admin_cluster. To set the admin_cluster attribute:
▸ provide the argument admin_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 admin_cluster. To set the location
attribute:
▸ provide the argument admin_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.
REQUIRED FLAGS
--version=VERSION
Anthos cluster on bare metal version for the admin cluster resource.
Anthos on bare metal admin cluster load balancer configuration.
This must be specified.
Control plane load balancer port configuration.
This must be specified.
--control-plane-load-balancer-port=CONTROL_PLANE_LOAD_BALANCER_PORT
Control plane load balancer port configuration.
VIPs used by the load balancer.
This must be specified.
--control-plane-vip=CONTROL_PLANE_VIP
VIP for the Kubernetes API of this cluster.
Manual load balancer configuration.
--enable-manual-lb
ManualLB typed load balancers configuration.
Anthos on bare metal cluster control plane configuration.
At least one of these must be specified:
--api-server-args=[KEY=VALUE,...]
API Server argument configuration.
Anthos on bare metal cluster control plane node pool configuration.
This must be specified.
Anthos on bare metal node pool configuration for control plane nodes.
This must be specified.
Anthos on bare metal node configuration for control plane nodes.
This must be specified.
Populate control plane node config.
Exactly one of these must 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.
Populate one of the network configs.
This must be specified.
Island mode CIDR network configuration.
--island-mode-pod-address-cidr-blocks=POD_ADDRESS,[POD_ADDRESS,...]
IPv4 address range for all pods in the cluster.
This flag argument must be specified if any of the other arguments
in this group are specified.
--island-mode-service-address-cidr-blocks=SERVICE_ADDRESS,[...]
IPv4 address range for all services in the cluster.
This flag argument must be specified if any of the other arguments
in this group are specified.
Anthos on bare metal cluster storage configuration.
This must be specified.
LVP node mounts class and path used by the storage.
This must be specified.
--lvp-node-mounts-config-path=LVP_NODE_MOUNTS_CONFIG_PATH
Path for the LVP node mounts class.
This flag argument must be specified if any of the other arguments
in this group are specified.
--lvp-node-mounts-config-storage-class=LVP_NODE_MOUNTS_CONFIG_STORAGE_CLASS
Storage class for LVP node mounts.
This flag argument must be specified if any of the other arguments
in this group are specified.
LVP share configuration.
At least one of these must be specified:
--shared-path-pv-count=SHARED_PATH_PV_COUNT
Number of subdirectories to create under path.
LVP share class and path used by the storage.
This must be specified.
--lvp-share-path=LVP_SHARE_PATH
Path for the LVP share class.
This flag argument must be specified if any of the other
arguments in this group are specified.
--lvp-share-storage-class=LVP_SHARE_STORAGE_CLASS
Storage class for LVP share.
This flag argument must be specified if any of the other
arguments in this group are specified.
OPTIONAL FLAGS
--annotations=[KEY=VALUE,...]
Annotations on the Anthos on bare metal resource.
--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).
Anthos on bare metal node access related settings for the admin 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.
Anthos on bare metal admin cluster workload node configuration.
--max-pods-per-node=MAX_PODS_PER_NODE
Maximum number of pods a node can run.
--validate-only
If set, only validate the request, but do not actually perform the
operation.
Anthos on bare metal cluster proxy configuration.
--uri=URI
Address of the proxy server.
This flag argument must be specified if any of the other arguments in
this group are specified.
--no-proxy=[NO_PROXY,...]
List of IPs, hostnames, and domains that should skip the proxy.
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.

View file

@ -17,6 +17,9 @@ GCLOUD WIDE FLAGS
COMMANDS
COMMAND is one of the following:
create
(ALPHA) Create an Anthos on bare metal admin cluster.
describe
(ALPHA) Describe an Anthos on bare metal admin cluster.

View file

@ -6,7 +6,12 @@ SYNOPSIS
gcloud alpha container bare-metal node-pools create
(NODE_POOL : --cluster=CLUSTER --location=LOCATION)
(--node-configs=[labels=LABELS],[node-ip=NODE-IP]
: --node-labels=[KEY=VALUE,...] --node-taints=[KEY=VALUE:EFFECT,...])
: --node-labels=[KEY=VALUE,...] --node-taints=[KEY=VALUE:EFFECT,...]
--cpu-cfs-quota-period=CPU_CFS_QUOTA_PERIOD
--cpu-manager-policy=CPU_MANAGER_POLICY --disable-cpu-cfs-quota
--disable-serialize-image-pulls --feature-gates=[FEATURE=BOOL,...]
--pod-pids-limit=POD_PIDS_LIMIT --registry-burst=REGISTRY_BURST
--registry-pull-qps=REGISTRY_PULL_QPS)
[--annotations=[KEY=VALUE,...]] [--async] [--display-name=DISPLAY_NAME]
[--validate-only] [GCLOUD_WIDE_FLAG ...]
@ -72,6 +77,37 @@ REQUIRED FLAGS
--node-taints=[KEY=VALUE:EFFECT,...]
Node taint applied to every Kubernetes node in a node pool.
Sets the modifiable kubelet configurations for bare metal machines.
--cpu-cfs-quota-period=CPU_CFS_QUOTA_PERIOD
CPU Completely Fair Scheduler (CFS) quota period value. Specify
with seconds as the time unit, such as 0.2s.
--cpu-manager-policy=CPU_MANAGER_POLICY
The kubelet CPU manager policy. CPU_MANAGER_POLICY must be one of:
NONE, STATIC.
--disable-cpu-cfs-quota
If set, disable CPU Completely Fair Scheduler (CFS) quota
enforcement for containers that specify CPU limits.
--disable-serialize-image-pulls
If set, prevent the Kubelet from pulling multiple images at a time.
--feature-gates=[FEATURE=BOOL,...]
A map of feature names to bools that enable or disable experimental
features.
--pod-pids-limit=POD_PIDS_LIMIT
Maximum number of PIDs in any pod.
--registry-burst=REGISTRY_BURST
Maximum size of bursty pulls, temporarily allows pulls to burst to
this number, while still not exceeding registry_pull_qps.
--registry-pull-qps=REGISTRY_PULL_QPS
Limit of registry pulls per second.
OPTIONAL FLAGS
--annotations=[KEY=VALUE,...]
Annotations on the node pool.

View file

@ -5,7 +5,7 @@ NAME
SYNOPSIS
gcloud alpha container bare-metal node-pools delete
(NODE_POOL : --cluster=CLUSTER --location=LOCATION) [--allow-missing]
[--async] [--validate-only] [GCLOUD_WIDE_FLAG ...]
[--async] [--ignore-errors] [--validate-only] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Delete a node pool in an Anthos cluster on bare metal.
@ -60,6 +60,10 @@ FLAGS
Return immediately, without waiting for the operation in progress to
complete.
--ignore-errors
If set, the deletion of a Bare Metal Node Pool resource will succeed
even if errors occur during deletion.
--validate-only
If set, only validate the request, but do not actually perform the
operation.

View file

@ -7,8 +7,14 @@ SYNOPSIS
(NODE_POOL : --cluster=CLUSTER --location=LOCATION) [--allow-missing]
[--async] [--display-name=DISPLAY_NAME] [--validate-only]
[--node-configs=[labels=LABELS],[node-ip=NODE-IP]
--node-labels=[KEY=VALUE,...] --node-taints=[KEY=VALUE:EFFECT,...]]
[GCLOUD_WIDE_FLAG ...]
--node-labels=[KEY=VALUE,...] --node-taints=[KEY=VALUE:EFFECT,...]
--cpu-cfs-quota-period=CPU_CFS_QUOTA_PERIOD
--cpu-manager-policy=CPU_MANAGER_POLICY
--feature-gates=[FEATURE=BOOL,...] --pod-pids-limit=POD_PIDS_LIMIT
--registry-burst=REGISTRY_BURST
--registry-pull-qps=REGISTRY_PULL_QPS --disable-cpu-cfs-quota
| --enable-cpu-cfs-quota --disable-serialize-image-pulls
| --enable-serialize-image-pulls] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Update a node pool in an Anthos cluster on bare metal.
@ -86,6 +92,49 @@ FLAGS
--node-taints=[KEY=VALUE:EFFECT,...]
Node taint applied to every Kubernetes node in a node pool.
Sets the modifiable kubelet configurations for bare metal machines.
--cpu-cfs-quota-period=CPU_CFS_QUOTA_PERIOD
CPU Completely Fair Scheduler (CFS) quota period value. Specify
with seconds as the time unit, such as 0.2s.
--cpu-manager-policy=CPU_MANAGER_POLICY
The kubelet CPU manager policy. CPU_MANAGER_POLICY must be one of:
NONE, STATIC.
--feature-gates=[FEATURE=BOOL,...]
A map of feature names to bools that enable or disable experimental
features.
--pod-pids-limit=POD_PIDS_LIMIT
Maximum number of PIDs in any pod.
--registry-burst=REGISTRY_BURST
Maximum size of bursty pulls, temporarily allows pulls to burst to
this number, while still not exceeding registry_pull_qps.
--registry-pull-qps=REGISTRY_PULL_QPS
Limit of registry pulls per second.
At most one of these can be specified:
--disable-cpu-cfs-quota
If set, disable CPU Completely Fair Scheduler (CFS) quota
enforcement for containers that specify CPU limits.
--enable-cpu-cfs-quota
If set, enable CPU Completely Fair Scheduler (CFS) quota
enforcement for containers that specify CPU limits.
At most one of these can be specified:
--disable-serialize-image-pulls
If set, prevent the Kubelet from pulling multiple images at a
time.
--enable-serialize-image-pulls
If set, enable the Kubelet to pull multiple images at a time.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,

View file

@ -24,7 +24,7 @@ SYNOPSIS
[--no-enable-autoupgrade] [--enable-cloud-logging]
[--enable-cloud-monitoring] [--enable-cloud-run-alpha]
[--enable-confidential-nodes] [--enable-cost-allocation]
[--enable-dataplane-v2] [--enable-gke-oidc]
[--enable-dataplane-v2] [--enable-fleet] [--enable-gke-oidc]
[--enable-google-cloud-access] [--enable-gvnic]
[--enable-identity-service] [--enable-image-streaming]
[--enable-intra-node-visibility] [--enable-ip-alias]
@ -34,7 +34,8 @@ SYNOPSIS
[--enable-master-global-access] [--enable-network-policy]
[--enable-pod-security-policy] [--enable-service-externalips]
[--enable-shielded-nodes] [--enable-stackdriver-kubernetes]
[--enable-vertical-pod-autoscaling] [--gateway-api=GATEWAY_API]
[--enable-vertical-pod-autoscaling]
[--fleet-project=PROJECT_ID_OR_NUMBER] [--gateway-api=GATEWAY_API]
[--identity-provider=IDENTITY_PROVIDER] [--image-type=IMAGE_TYPE]
[--ipv6-access-type=IPV6_ACCESS_TYPE] [--issue-client-certificate]
[--istio-config=[auth=MTLS_PERMISSIVE,...]] [--labels=[KEY=VALUE,...]]
@ -417,6 +418,12 @@ FLAGS
Enables the new eBPF dataplane for GKE clusters that is required for
network security, scalability and visibility features.
--enable-fleet
Set cluster project as the fleet host project. This will register the
cluster to the same project. To register the cluster to a fleet in a
different project, please use --fleet-project=FLEET_HOST_PROJECT.
Example: $ gcloud alpha container clusters create --enable-fleet
--enable-gke-oidc
(DEPRECATED) Enable GKE OIDC authentication on the cluster.
@ -547,6 +554,14 @@ FLAGS
--enable-vertical-pod-autoscaling
Enable vertical pod autoscaling for a cluster.
--fleet-project=PROJECT_ID_OR_NUMBER
Sets fleet host project for the cluster. If specified, the current
cluster will be registered as a fleet membership under the fleet host
project.
Example: $ gcloud alpha container clusters create
--fleet-project=my-project
--gateway-api=GATEWAY_API
Enables GKE Gateway controller in this cluster. The value of the flag
specifies which Open Source Gateway API release channel will be used to

View file

@ -10,11 +10,12 @@ SYNOPSIS
[--cluster-secondary-range-name=NAME]
[--cluster-version=CLUSTER_VERSION]
[--create-subnetwork=[KEY=VALUE,...]]
[--database-encryption-key=DATABASE_ENCRYPTION_KEY]
[--enable-google-cloud-access] [--network=NETWORK]
[--private-endpoint-subnetwork=NAME] [--release-channel=CHANNEL]
[--security-group=SECURITY_GROUP] [--services-ipv4-cidr=CIDR]
[--services-secondary-range-name=NAME] [--subnetwork=SUBNETWORK]
[--database-encryption-key=DATABASE_ENCRYPTION_KEY] [--enable-fleet]
[--enable-google-cloud-access] [--fleet-project=PROJECT_ID_OR_NUMBER]
[--network=NETWORK] [--private-endpoint-subnetwork=NAME]
[--release-channel=CHANNEL] [--security-group=SECURITY_GROUP]
[--services-ipv4-cidr=CIDR] [--services-secondary-range-name=NAME]
[--subnetwork=SUBNETWORK]
[--binauthz-evaluation-mode=BINAUTHZ_EVALUATION_MODE
--binauthz-policy=BINAUTHZ_POLICY]
[--enable-master-authorized-networks
@ -149,11 +150,25 @@ FLAGS
For more information, see
https://cloud.google.com/kubernetes-engine/docs/how-to/encrypting-secrets.
--enable-fleet
Set cluster project as the fleet host project. This will register the
cluster to the same project. To register the cluster to a fleet in a
different project, please use --fleet-project=FLEET_HOST_PROJECT.
Example: $ gcloud alpha container clusters create-auto --enable-fleet
--enable-google-cloud-access
When you enable Google Cloud Access, any public IP addresses owned by
Google Cloud can reach the public control plane endpoint of your
cluster.
--fleet-project=PROJECT_ID_OR_NUMBER
Sets fleet host project for the cluster. If specified, the current
cluster will be registered as a fleet membership under the fleet host
project.
Example: $ gcloud alpha container clusters create-auto \
--fleet-project=my-project
--network=NETWORK
The Compute Engine Network that the cluster will connect to. Google
Kubernetes Engine will use this network when creating routes and

View file

@ -5,12 +5,12 @@ NAME
SYNOPSIS
gcloud alpha container clusters update NAME
(--autoprovisioning-network-tags=[TAGS,...]
| --autoscaling-profile=AUTOSCALING_PROFILE
| --autoscaling-profile=AUTOSCALING_PROFILE | --clear-fleet-project
| --complete-credential-rotation | --complete-ip-rotation
| --database-encryption-key=DATABASE_ENCRYPTION_KEY
| --disable-database-encryption | --disable-default-snat
| --disable-workload-identity | --enable-autoscaling
| --enable-cost-allocation | --enable-gke-oidc
| --enable-cost-allocation | --enable-fleet | --enable-gke-oidc
| --enable-google-cloud-access | --enable-identity-service
| --enable-image-streaming | --enable-intra-node-visibility
| --enable-l4-ilb-subsetting | --enable-legacy-authorization
@ -19,7 +19,8 @@ SYNOPSIS
| --enable-network-policy | --enable-pod-security-policy
| --enable-private-endpoint | --enable-service-externalips
| --enable-shielded-nodes | --enable-stackdriver-kubernetes
| --enable-vertical-pod-autoscaling | --gateway-api=GATEWAY_API
| --enable-vertical-pod-autoscaling
| --fleet-project=PROJECT_ID_OR_NUMBER | --gateway-api=GATEWAY_API
| --generate-password | --identity-provider=IDENTITY_PROVIDER
| --logging-variant=LOGGING_VARIANT | --maintenance-window=START_TIME
| --notification-config=[pubsub=ENABLED|DISABLED,
@ -117,6 +118,10 @@ REQUIRED FLAGS
Set autoscaling behaviour, choices are 'optimize-utilization' and
'balanced'. Default is 'balanced'.
--clear-fleet-project
Remove the cluster from current fleet host project. Example: $ gcloud
alpha container clusters update --clear-fleet-project
--complete-credential-rotation
Complete the IP and credential rotation for this cluster. For
example:
@ -200,6 +205,12 @@ REQUIRED FLAGS
Use --no-enable-cost-allocation to disable this feature.
--enable-fleet
Set cluster project as the fleet host project. This will register the
cluster to the same project. To register the cluster to a fleet in a
different project, please use --fleet-project=FLEET_HOST_PROJECT.
Example: $ gcloud alpha container clusters update --enable-fleet
--enable-gke-oidc
(DEPRECATED) Enable GKE OIDC authentication on the cluster.
@ -323,6 +334,14 @@ REQUIRED FLAGS
--enable-vertical-pod-autoscaling
Enable vertical pod autoscaling for a cluster.
--fleet-project=PROJECT_ID_OR_NUMBER
Sets fleet host project for the cluster. If specified, the current
cluster will be registered as a fleet membership under the fleet host
project.
Example: $ gcloud alpha container clusters update
--fleet-project=my-project
--gateway-api=GATEWAY_API
Enables GKE Gateway controller in this cluster. The value of the flag
specifies which Open Source Gateway API release channel will be used

View file

@ -0,0 +1,72 @@
NAME
gcloud alpha container vmware node-pools enroll - enroll a node pool in an
Anthos cluster on VMware
SYNOPSIS
gcloud alpha container vmware node-pools enroll
(NODE_POOL : --cluster=CLUSTER --location=LOCATION) [--async]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Enroll a node pool in an Anthos cluster on VMware.
EXAMPLES
To enroll a node pool named my-node-pool in a cluster named my-cluster
managed in location us-west1, run:
$ gcloud alpha container vmware node-pools enroll my-node-pool \
--cluster=my-cluster --location=us-west1
POSITIONAL ARGUMENTS
Node pool resource - node pool to enroll 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 node_pool 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.
NODE_POOL
ID of the node_pool or fully qualified identifier for the node_pool.
To set the node_pool attribute:
▸ provide the argument node_pool on the command line.
This positional argument must be specified if any of the other
arguments in this group are specified.
--cluster=CLUSTER
cluster of the node_pool. To set the cluster attribute:
▸ provide the argument node_pool on the command line with a fully
specified name;
▸ provide the argument --cluster on the command line.
--location=LOCATION
Google Cloud location for the node_pool. To set the location
attribute:
▸ provide the argument node_pool on the command line with a fully
specified name;
▸ provide the argument --location on the command line;
▸ set the property container_vmware/location.
FLAGS
--async
Return immediately, without waiting for the operation in progress to
complete.
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.

View file

@ -25,6 +25,9 @@ COMMANDS
describe
(ALPHA) Describe a node pool in an Anthos cluster on VMware.
enroll
(ALPHA) Enroll a node pool in an Anthos cluster on VMware.
list
(ALPHA) List node pools in an Anthos cluster on VMware.