ahmetb / cloud-run-faq

Unofficial FAQ and everything you've been wondering about Google Cloud Run.
https://cloud.run
Creative Commons Attribution 4.0 International
2.32k stars 124 forks source link

Why CloudRun instance count could jump very high, especially during redeployment? #171

Open liufuyang opened 1 year ago

liufuyang commented 1 year ago

Basically a copy of question here, I guess this might also be a good place to ask?

When using CloudRun, why my instance count jumps very high during redeployment? It could go up x10 to x20 times.

My CloudRun application has very low CPU utilization and the traffic is extremely low as well. I would expect during a redeployment the instance count should just go up to 2 (one is new, one is old, still running for a while before all traffic goes to the new one)

Also, is there a way to control a "rollingUpdate" behavior during deployment? For example, would that stable window help in any way?

image image image