knative-serving

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

How to set a minimum scale for Cloud Run on GKE services?

房东的猫 提交于 2019-12-06 11:42:16
问题 I'm using Cloud Run on Google Kubernetes Engine and I'm able to deploy and access services without a problem. But since I'm running on GKE and paying for the cluster 24/7 it makes no sense to scale a deployment to zero and always have a cold start for the first request. I've found that's it's possible to set minScale for the Knative autoscaler to disable scale to zero here, here and here, but I have no idea where to put it. There are a lot of configurations, services and workloads inside GKE

How to set a minimum scale for Cloud Run on GKE services?

落爺英雄遲暮 提交于 2019-12-04 17:32:17
I'm using Cloud Run on Google Kubernetes Engine and I'm able to deploy and access services without a problem. But since I'm running on GKE and paying for the cluster 24/7 it makes no sense to scale a deployment to zero and always have a cold start for the first request. I've found that's it's possible to set minScale for the Knative autoscaler to disable scale to zero here , here and here , but I have no idea where to put it. There are a lot of configurations, services and workloads inside GKE for Isito and Knative-Serving, but I couldn't find anything matching. Which file or configuration do