google adk deploying to gcp cloud run

We can deploy ADK agent to google cloud with adk command line. This would be available when we install adk module as part of your deployment requirements.

To deploy your applications run the following command and if you trying to deploy sample app when you're in the root folder $AGENT_PATH=. 

$SERVICE_NAME would be the name for your cloud run. 

adk deploy cloud_run \

--project=$GOOGLE_CLOUD_PROJECT \

--region=$GOOGLE_CLOUD_LOCATION \

--service_name=$SERVICE_NAME \

--app_name=$APP_NAME \

--with_ui \

$AGENT_PATH

If you do not have an existing container registry, it will prompt if you want to be created. You will be prompted if you would allowed anonymous invocations. 

And the output would be something like this:-



After you have successfully deploy it, your agentic AI can be tested via the deployed URL.  If you click on the cloud run endpoint, this would appear. And you can type away.



















Comments

Popular posts from this blog

vllm : Failed to infer device type

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20

android studio kotlin source is null error