- NAME
-
- 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
(--config-from-file
=CONFIG_FROM_FILE
|--public-egress
|--no-public-egress
--worker-disk-size
=WORKER_DISK_SIZE
--worker-machine-type
=WORKER_MACHINE_TYPE
) [GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
-
(ALPHA)
Update a private pool used by Cloud Build. - EXAMPLES
-
- Private pools
To change the machine type and disk size of a private pool named
pwp1
, run:gcloud alpha builds worker-pools update pwp1 --region=us-central1 --worker-machine-type=e2-standard-2 --worker-disk-size=64GB
- 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
-
--region
=REGION
- Cloud region where the worker pool is updated. See https://cloud.google.com/build/docs/locations for available locations.
-
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
-
Command-line flags to configure the private pool:
-
At most one of these can be specified:
--public-egress
- If set, workers in the worker pool are created with an external IP address.
--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
-
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.
-
At most one of these can be specified:
- 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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-02-06 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]