google / google/adk-docs

Cloud Run deploy docs need info on passthrough args

Open
#704 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
1.5k
Forks
1.3k
Avg merge
7d 1h
Merged PRs (30d)
34

Description

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](https://cloud.google.com/sdk/gcloud/reference/run/deploy) flags:

```bash
# 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/

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.