Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to specify that I need 2nd generation of execution environment? #239

Open
evil-shrike opened this issue Feb 22, 2023 · 2 comments
Open

Comments

@evil-shrike
Copy link

Hi,

currently by default a deployed service has 1st generation of execution environment.
Is it possible to specify somehow that I need the 2nd generation?

@jamesward
Copy link
Contributor

There isn't currently an option for that but you could probably do it manually via the hooks. I'll leave this open as a feature request to add an option for it.

@evil-shrike
Copy link
Author

yep,
in a postcreate hook:

gcloud run services update $K_SERVICE --execution-environment=gen2 --region=$GOOGLE_CLOUD_REGION

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants