Cloud Build Worker Pool Integration
Is your feature request related to a problem? Please describe.
When deploying Agent Engines because there’s no way to specify a custom Cloud Build worker pool. This prevents deploying in environments that require private worker pools for security, compliance, or network connectivity to private resources.
Describe the solution you’d like
Add an optional worker_pool parameter to agent_engines.create():
from vertexai import agent_engines
remote_app = agent_engines.create(
agent_engine=root_agent,
requirements=[
"google-cloud-aiplatform[adk,agent_engines]",
],
worker_pool="projects/my-project/locations/us-central1/workerPools/my-private-pool"
)
This should accept the full worker pool resource name and pass it to the underlying Cloud Build process.
Describe alternatives you’ve considered
- Manual Cloud Build configuration (loses Agent Engines integration)
@base698 Thanks for submitting this feature request. We’ve taken it under review Thanks for your patience.
I'd like to take this on — implementing optional Cloud Build worker pool support for Agent Engine deploy (adk deploy agent_engine / config passthrough). Claiming this issue now; PR incoming.
Claimed and implemented in https://github.com/google/adk-python/pull/6701.
I don’t have permission to self-assign on this repo — @klateefa could you please assign me (@a2105z) so others know this is taken?
Summary of the fix: adk deploy agent_engine now accepts --worker_pool (and .agent_engine_config.json worker_pool / build_config.worker_pool) and nests it into the Vertex Agent Engine build_config so Cloud Build can use a private worker pool for VPC-SC / private-network deploys.