From 84313c92c2856c411b6071d9644fc12baeda5ce4 Mon Sep 17 00:00:00 2001 From: Wenxin Du <117315983+duwenxin99@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:32:41 -0500 Subject: [PATCH] feat(docs): update gcloud track for deployment with VPC network (#80) Currently the VPC network flags `--network` and `--subnet` are only available on the gcloud alpha track according to: https://cloud.google.com/sdk/gcloud/reference/alpha/run/deploy and https://cloud.google.com/sdk/gcloud/reference/run/deploy. Update cloud run deployment instruction to reflect this. --- docs/deploy_extension_service.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/deploy_extension_service.md b/docs/deploy_extension_service.md index 306b10c1..88e91009 100644 --- a/docs/deploy_extension_service.md +++ b/docs/deploy_extension_service.md @@ -82,7 +82,15 @@ datastore: --no-allow-unauthenticated \ --service-account extension-identity \ --region us-central1 \ - # The follow flags are optional if you aren't using a VPC + ``` + + If you are using a VPC network, use the command below: + ```bash + gcloud alpha run deploy extension-service \ + --source=./extension_service/\ + --no-allow-unauthenticated \ + --service-account extension-identity \ + --region us-central1 \ --network=default \ --subnet=default ```