mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-19 07:15:23 +00:00
gcloud: Thu Jan 19 00:56:33 UTC 2023
This commit is contained in:
parent
348d9760ee
commit
1248f773ec
1462 changed files with 51835 additions and 5402 deletions
|
|
@ -5,7 +5,8 @@ NAME
|
|||
SYNOPSIS
|
||||
gcloud beta builds worker-pools create WORKER_POOL --region=REGION
|
||||
[--config-from-file=CONFIG_FROM_FILE | --peered-network=PEERED_NETWORK
|
||||
--no-public-egress --worker-disk-size=WORKER_DISK_SIZE
|
||||
--peered-network-ip-range=PEERED_NETWORK_IP_RANGE --no-public-egress
|
||||
--worker-disk-size=WORKER_DISK_SIZE
|
||||
--worker-machine-type=WORKER_MACHINE_TYPE] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
|
|
@ -18,11 +19,13 @@ EXAMPLES
|
|||
|
||||
To create a worker pool in project p1 in region us-central1 where workers
|
||||
are of machine type e2-standard-2 and are peered to the VPC network
|
||||
projects/123/global/networks/default and have a disk size of 64GB, run:
|
||||
projects/123/global/networks/default within the IP range 192.168.0.0/28 and
|
||||
have a disk size of 64GB, run:
|
||||
|
||||
$ gcloud beta builds worker-pools create wp1 --project=p1 \
|
||||
--region=us-central1 \
|
||||
--peered-network=projects/123/global/networks/default \
|
||||
--peered-network-ip-range=192.168.0.0/28 \
|
||||
--worker-machine-type=e2-standard-2 --worker-disk-size=64GB
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
|
|
@ -53,6 +56,19 @@ OPTIONAL FLAGS
|
|||
|
||||
If not specified, the workers are not peered to any network.
|
||||
|
||||
--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'.
|
||||
|
||||
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.1/24.
|
||||
|
||||
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.
|
||||
|
||||
--no-public-egress
|
||||
If set, workers in the worker pool are created without an external
|
||||
IP address.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue