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/