mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 14:56:05 +00:00
gcloud: Thu Jun 6 09:19:36 UTC 2024
This commit is contained in:
parent
595ac8640a
commit
40ba53d37f
93 changed files with 3117 additions and 305 deletions
|
|
@ -4,10 +4,12 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud builds worker-pools create WORKER_POOL --region=REGION
|
||||
[--config-from-file=CONFIG_FROM_FILE | --peered-network=PEERED_NETWORK
|
||||
--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 ...]
|
||||
[--config-from-file=CONFIG_FROM_FILE
|
||||
| --worker-disk-size=WORKER_DISK_SIZE
|
||||
--worker-machine-type=WORKER_MACHINE_TYPE
|
||||
--peered-network=PEERED_NETWORK
|
||||
--peered-network-ip-range=PEERED_NETWORK_IP_RANGE --no-public-egress]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Create a worker pool for use by Google Cloud Build.
|
||||
|
|
@ -49,33 +51,6 @@ OPTIONAL FLAGS
|
|||
|
||||
Command-line flags to configure the private pool:
|
||||
|
||||
--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}.
|
||||
|
||||
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.0/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.
|
||||
|
||||
If the worker pool is within a VPC Service Control perimeter, use
|
||||
this flag.
|
||||
|
||||
Configuration to be used for creating workers in the worker pool:
|
||||
|
||||
--worker-disk-size=WORKER_DISK_SIZE
|
||||
|
|
@ -88,6 +63,35 @@ OPTIONAL FLAGS
|
|||
|
||||
If unspecified, Cloud Build uses a standard machine type.
|
||||
|
||||
Network configuration for Service Networking:
|
||||
|
||||
--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}.
|
||||
|
||||
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.0/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.
|
||||
|
||||
If the worker pool is within a VPC Service Control perimeter, use
|
||||
this flag.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
|
|
|
|||
|
|
@ -51,18 +51,20 @@ REQUIRED FLAGS
|
|||
|
||||
If unspecified, Cloud Build uses a standard machine type.
|
||||
|
||||
At most one of these can be specified:
|
||||
Network configuration for Service Networking:
|
||||
|
||||
--public-egress
|
||||
If set, workers in the worker pool are created with an external
|
||||
IP address.
|
||||
At most one of these can be specified:
|
||||
|
||||
--no-public-egress
|
||||
If set, workers in the worker pool are created without an
|
||||
external IP address.
|
||||
--public-egress
|
||||
If set, workers in the worker pool are created with an external
|
||||
IP address.
|
||||
|
||||
If the worker pool is within a VPC Service Control perimeter, use
|
||||
this flag.
|
||||
--no-public-egress
|
||||
If set, workers in the worker pool are created without an
|
||||
external IP address.
|
||||
|
||||
If the worker pool is within a VPC Service Control perimeter,
|
||||
use this flag.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue