Skip to content

Commit

Permalink
feat(docs): update gcloud track for deployment with VPC network (#80)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
duwenxin99 authored Nov 16, 2023
1 parent 9d5c68b commit 84313c9
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/deploy_extension_service.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down

0 comments on commit 84313c9

Please sign in to comment.