1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-16 12:22:03 +00:00
gcloud-help/gcloud/alpha/builds/worker-pools/update

89 lines
3.1 KiB
Text
Raw Normal View History

2022-03-01 04:29:52 +00:00
NAME
2024-01-10 10:17:49 +00:00
gcloud alpha builds worker-pools update - update a private pool used by
Cloud Build
2022-03-01 04:29:52 +00:00
SYNOPSIS
2024-07-17 09:30:28 +00:00
gcloud alpha builds worker-pools update WORKER_POOL
2024-06-19 09:33:28 +00:00
(--config-from-file=CONFIG_FROM_FILE | --[no-]public-egress
--worker-disk-size=WORKER_DISK_SIZE
2024-05-23 09:22:11 +00:00
--worker-machine-type=WORKER_MACHINE_TYPE)
2024-07-17 09:30:28 +00:00
[--generation=GENERATION; default=1] [--region=REGION]
[GCLOUD_WIDE_FLAG ...]
2022-03-01 04:29:52 +00:00
DESCRIPTION
2024-01-10 10:17:49 +00:00
(ALPHA) Update a private pool used by Cloud Build.
2022-03-01 04:29:52 +00:00
EXAMPLES
2024-05-23 09:22:11 +00:00
To change the machine type and disk size of workers in a worker pool named
wp1, run:
2022-03-01 04:29:52 +00:00
2024-05-23 09:22:11 +00:00
$ gcloud alpha builds worker-pools update wp1 --region=us-central1 \
--worker-machine-type=e2-standard-2 --worker-disk-size=64GB
2022-03-01 04:29:52 +00:00
POSITIONAL ARGUMENTS
WORKER_POOL
Unique identifier for the worker pool to update. This value should be
1-63 characters, and valid characters are [a-z][0-9]-
REQUIRED FLAGS
Exactly one of these must be specified:
--config-from-file=CONFIG_FROM_FILE
File that contains updates to the configuration for worker pool to be
created.
Private pool options:
https://cloud.google.com/build/docs/private-pools/worker-pool-config-file-schema
2024-01-10 10:17:49 +00:00
Command-line flags to configure the private pool:
2022-03-01 04:29:52 +00:00
2024-06-19 09:33:28 +00:00
--[no-]public-egress
If set to true, workers in the worker pool are created with an
external IP address.
2022-03-01 04:29:52 +00:00
2024-06-19 09:33:28 +00:00
If set to false, 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.
2022-03-01 04:29:52 +00:00
2024-06-19 09:33:28 +00:00
Use --public-egress to enable and --no-public-egress to disable.
2022-03-01 04:29:52 +00:00
2024-01-10 10:17:49 +00:00
Configuration to be used for creating workers in the worker pool:
2022-03-01 04:29:52 +00:00
2024-01-10 10:17:49 +00:00
--worker-disk-size=WORKER_DISK_SIZE
Size of the disk attached to the worker.
2022-03-01 04:29:52 +00:00
2025-01-08 10:03:00 +00:00
If unspecified, Cloud Build uses a standard disk size.
2022-03-01 04:29:52 +00:00
2024-01-10 10:17:49 +00:00
--worker-machine-type=WORKER_MACHINE_TYPE
Compute Engine machine type for a worker pool.
2022-03-01 04:29:52 +00:00
2024-01-10 10:17:49 +00:00
If unspecified, Cloud Build uses a standard machine type.
2022-03-01 04:29:52 +00:00
2024-05-23 09:22:11 +00:00
OPTIONAL FLAGS
--generation=GENERATION; default=1
Generation of the worker pool.
2024-07-17 09:30:28 +00:00
--region=REGION
Cloud region where the worker pool is updated. See
https://cloud.google.com/build/docs/locations for available locations.
2022-03-01 04:29:52 +00:00
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. These variants are also available:
$ gcloud builds worker-pools update
$ gcloud beta builds worker-pools update