1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-18 14:56:05 +00:00

gcloud: Wed Jan 10 10:17:49 UTC 2024

This commit is contained in:
Automated 2024-01-10 10:17:49 +00:00
parent 08ad88258a
commit 5fec13c692
262 changed files with 3211 additions and 4501 deletions

View file

@ -1,6 +1,6 @@
NAME
gcloud alpha builds worker-pools create - create a private or hybrid pool
for use by Cloud Build
gcloud alpha builds worker-pools create - create a private pool for use by
Cloud Build
SYNOPSIS
gcloud alpha builds worker-pools create WORKER_POOL --region=REGION
@ -10,7 +10,7 @@ SYNOPSIS
--worker-machine-type=WORKER_MACHINE_TYPE] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Create a private or hybrid pool for use by Cloud Build.
(ALPHA) Create a private pool for use by Cloud Build.
EXAMPLES
▪ Private pools
@ -30,21 +30,6 @@ EXAMPLES
--peered-network-ip-range=192.168.0.0/28 \
--worker-machine-type=e2-standard-2 --worker-disk-size=64GB
▪ Hybrid pools
To create a hybrid pool named hwp1 out of Hub member named foo in region
us-west4, run:
$ gcloud alpha builds worker-pools create hwp1 --region=us-west4 \
--membership=projects/123/locations/global/memberships/foo
To create a hybrid pool in project p1 in region us-west4 that requires 60
GB of disk size per build by default, run:
$ gcloud alpha builds worker-pools create hwp1 --region=us-west4 \
--membership=projects/123/locations/global/memberships/foo \
--default-build-disk-size=60GB
POSITIONAL ARGUMENTS
WORKER_POOL
Unique identifier for the worker pool to create. This value should be
@ -66,52 +51,46 @@ OPTIONAL FLAGS
https://cloud.google.com/build/docs/private-pools/worker-pool-config-file-schema
Hybrid pool options:
Command-line flags to configure the private pool:
https://cloud.google.com/build/docs/hybrid/hybrid-pool-config-file-schema
--peered-network=PEERED_NETWORK
Existing network to which workers are peered. The network is
specified in resource URL format
projects/{network_project}/global/networks/{network_name}.
At most one of these can be specified:
If not specified, the workers are not peered to any network.
Command-line flags to configure the private pool:
--peered-network-ip-range=PEERED_NETWORK_IP_RANGE
An IP range for your peered network. Specify the IP range using
Classless Inter-Domain Routing (CIDR) notation with a slash and the
subnet prefix size, such as /29.
--peered-network=PEERED_NETWORK
Existing network to which workers are peered. The network is
specified in resource URL format
projects/{network_project}/global/networks/{network_name}.
Your subnet prefix size must be between 1 and 29. Optional: you can
specify an IP address before the subnet prefix value - for example
192.168.0.0/24.
If not specified, the workers are not peered to any network.
If no IP address is specified, your VPC automatically determines
the starting IP for the range. If no IP range is specified, Cloud
Build uses /24 as the default network IP range.
--peered-network-ip-range=PEERED_NETWORK_IP_RANGE
An IP range for your peered network. Specify the IP range using
Classless Inter-Domain Routing (CIDR) notation with a slash and
the subnet prefix size, such as /29.
--no-public-egress
If set, workers in the worker pool are created without an external
IP address.
Your subnet prefix size must be between 1 and 29. Optional: you
can specify an IP address before the subnet prefix value - for
example 192.168.0.0/24.
If the worker pool is within a VPC Service Control perimeter, use
this flag.
If no IP address is specified, your VPC automatically determines
the starting IP for the range. If no IP range is specified, Cloud
Build uses /24 as the default network IP range.
Configuration to be used for creating workers in the worker pool:
--no-public-egress
If set, workers in the worker pool are created without an
external IP address.
--worker-disk-size=WORKER_DISK_SIZE
Size of the disk attached to the worker.
If the worker pool is within a VPC Service Control perimeter, use
this flag.
If not given, Cloud Build will use a standard disk size.
Configuration to be used for creating workers in the worker pool:
--worker-machine-type=WORKER_MACHINE_TYPE
Compute Engine machine type for a worker pool.
--worker-disk-size=WORKER_DISK_SIZE
Size of the disk attached to the worker.
If not given, Cloud Build will use a standard disk size.
--worker-machine-type=WORKER_MACHINE_TYPE
Compute Engine machine type for a worker pool.
If unspecified, Cloud Build uses a standard machine type.
If unspecified, Cloud Build uses a standard machine type.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,

View file

@ -1,17 +1,16 @@
NAME
gcloud alpha builds worker-pools delete - delete a private or hybrid worker
pool from Google Cloud Build
gcloud alpha builds worker-pools delete - delete a private worker pool from
Google Cloud Build
SYNOPSIS
gcloud alpha builds worker-pools delete WORKER_POOL --region=REGION
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Delete a private or hybrid worker pool from Google Cloud Build.
(ALPHA) Delete a private worker pool from Google Cloud Build.
EXAMPLES
To delete a private or hybrid worker pool named wp1 in region us-central1,
run:
To delete a private worker pool named wp1 in region us-central1, run:
$ gcloud alpha builds worker-pools delete wp1 --region=us-central1

View file

@ -17,10 +17,10 @@ COMMANDS
COMMAND is one of the following:
create
(ALPHA) Create a private or hybrid pool for use by Cloud Build.
(ALPHA) Create a private pool for use by Cloud Build.
delete
(ALPHA) Delete a private or hybrid worker pool from Google Cloud Build.
(ALPHA) Delete a private worker pool from Google Cloud Build.
describe
(ALPHA) Describe a private or hybrid worker pool used by Cloud Build.
@ -30,7 +30,7 @@ COMMANDS
project.
update
(ALPHA) Update a private or hybrid pool used by Cloud Build.
(ALPHA) Update a private pool used by Cloud Build.
NOTES
This command is currently in alpha and might change without notice. If this

View file

@ -1,6 +1,6 @@
NAME
gcloud alpha builds worker-pools update - update a private or hybrid pool
used by Cloud Build
gcloud alpha builds worker-pools update - update a private pool used by
Cloud Build
SYNOPSIS
gcloud alpha builds worker-pools update WORKER_POOL --region=REGION
@ -9,7 +9,7 @@ SYNOPSIS
--worker-machine-type=WORKER_MACHINE_TYPE) [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Update a private or hybrid pool used by Cloud Build.
(ALPHA) Update a private pool used by Cloud Build.
EXAMPLES
▪ Private pools
@ -20,14 +20,6 @@ EXAMPLES
--region=us-central1 --worker-machine-type=e2-standard-2 \
--worker-disk-size=64GB
▪ Hybrid pools
To change the default build disk size and default build vcpu count of a
hybrid pool named hwp1, run:
$ gcloud alpha builds worker-pools update hwp1 --region=us-west4 \
--default-build-disk-size=100GB --default-build-vcpu-count=3.5
POSITIONAL ARGUMENTS
WORKER_POOL
Unique identifier for the worker pool to update. This value should be
@ -48,38 +40,32 @@ REQUIRED FLAGS
https://cloud.google.com/build/docs/private-pools/worker-pool-config-file-schema
Hybrid pool options:
Command-line flags to configure the private pool:
https://cloud.google.com/build/docs/hybrid/hybrid-pool-config-file-schema
At most one of these can be specified:
At most one of these can be specified:
--public-egress
If set, workers in the worker pool are created with an external
IP address.
Command-line flags to configure the private pool:
--no-public-egress
If set, workers in the worker pool are created without an
external IP address.
At most one of these can be specified:
If the worker pool is within a VPC Service Control perimeter, use
this flag.
--public-egress
If set, workers in the worker pool are created with an external
IP address.
Configuration to be used for creating workers in the worker pool:
--no-public-egress
If set, workers in the worker pool are created without an
external IP address.
--worker-disk-size=WORKER_DISK_SIZE
Size of the disk attached to the worker.
If the worker pool is within a VPC Service Control perimeter,
use this flag.
If not given, Cloud Build will use a standard disk size.
Configuration to be used for creating workers in the worker pool:
--worker-machine-type=WORKER_MACHINE_TYPE
Compute Engine machine type for a worker pool.
--worker-disk-size=WORKER_DISK_SIZE
Size of the disk attached to the worker.
If not given, Cloud Build will use a standard disk size.
--worker-machine-type=WORKER_MACHINE_TYPE
Compute Engine machine type for a worker pool.
If unspecified, Cloud Build uses a standard machine type.
If unspecified, Cloud Build uses a standard machine type.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,