Skip to content

Commit ac4cbf9

Browse files
ryzizubalestiago
andauthored
docs: add gen2 to Google Cloud Run deploy (#1191)
Co-authored-by: Alejandro Santiago <[email protected]>
1 parent aaaeb40 commit ac4cbf9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/docs/deploy/google-cloud-run.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ gcloud run deploy [SERVICE_NAME] \
5555
- `[PROJECT_ID]`: The ID of the Google Cloud project
5656
- `[REGION]`: The GCP region you wish to deploy to (ex: us-central1)
5757

58+
:::caution
59+
There is an ongoing [issue](https://github.com/google/gvisor/issues/7331) that is preventing Dart Unix Sockets from working correctly in the gen1 version of the [Cloud Run execution environment](https://cloud.google.com/run/docs/about-execution-environments). In that case, it is recommended to deploy to gen2 by adding `--execution-environment=gen2`.
60+
:::
61+
5862
Running this command will do three things:
5963

6064
- Upload the code in the `/build` directory

0 commit comments

Comments
 (0)