问题
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