adk-docs icon indicating copy to clipboard operation
adk-docs copied to clipboard

Cloud Run deploy docs need info on passthrough args

Open jackwotherspoon opened this issue 2 months ago • 0 comments

As of v1.13.0 you can pass any gcloud flags to adk deploy cloud_run.

This is crucial as it gives full control of the Cloud Run deployment which was not previously possible.

It uses the -- separator to divide ADK flags from gcloud run deploy flags:

# ADK flags
adk deploy cloud_run \
--project=$GOOGLE_CLOUD_PROJECT \
--region=$GOOGLE_CLOUD_LOCATION \
$AGENT_PATH \
# Use the -- separator for gcloud args
-- \
--min-instances=2 \
--no-allow-unauthenticated

This must be added to the Cloud Run portion of the ADK docs: https://google.github.io/adk-docs/deploy/cloud-run/

jackwotherspoon avatar Sep 18 '25 12:09 jackwotherspoon