Closed andreespirela closed 1 year ago
Hi @andreespirela,
Cloud Functions 2nd Generation has the same quota limitations as Cloud Run.
In particular, the max_instances
limit is relative to the amount of memory and/or vCPUs you request. max-instances
supports up to 1000 2 GB instances specifically. If you increase the instances' memory size to 8 GB (4x), that cuts the maximum number of instances by 4 as well (to 250).
Hope this helps! (Feel free to reopen this issue if it doesn't. 🙂 )
1) I'm not sure where to put this issue, so I found this repo that has similar issues so I'll put it here hopefully it's similar to the right place and can be addressed by google.
Context I've been trying to deploy a function for so long, the configuration hasn't changed (this is the deployment instruction)
Now it's just been constantly failing with the same commit that had a successful deployment:
(In yellow the commit hash, which you can see it was once successful)
It keeps saying:
In the deployment error, even though the one that succeded(51a0631e, shown in the picture) had it set up to 1000. What do I do with this flaky deployment?