Skip to content

Cloud Run deploy docs need info on passthrough args #704

@jackwotherspoon

Description

@jackwotherspoon

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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions