How to increase 15 minutes request timeout for Google Cloud Run service deployed on GKE?

半城伤御伤魂 提交于 2019-12-19 11:23:51

问题


The current documentation (https://cloud.google.com/run/quotas#cloud_run_limits) states there is a 15 minute maximum timeout permitted (configurable) for a cloud run request.

Is this the limit on GKE as well, or may it be possible to configure GKE and the deployment to permit, say, a 90 minute timeout?


回答1:


The request timeout for Cloud Run on GKE services can go beyond 15 minutes.

You can change this using the --timeout flag: gcloud beta run services update [SERVICE] --timeout=[TIMEOUT]

Read more about setting request timeouts in the official documentation.



来源:https://stackoverflow.com/questions/56139697/how-to-increase-15-minutes-request-timeout-for-google-cloud-run-service-deployed

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!