firebase / firebase/firebase-tools

Allow keeping cloud function image artifacts

Open
#4,932 2 comments 2 reactions 0 assignees View on GitHub
api: functions help-wanted type: feature request
Dominant language
TypeScript
Stars
4.5k
Forks
1.3k
Avg merge
1d 12h
Merged PRs (30d)
84

Description

I am trying to redeploy my cloud function v2 with a slightly different configuration. My goal is to enable CPU allocation at all times rather than not having CPU allocated when the function is not processing requests. As it stands now, my spanner connection is being killed while CPU is not allocated between requests. I have min instances > 1 to avoid cold starts.

I cant update the cloud run service to enable CPU allocation because the build artifiact is not present any longer, so when I try to redeploy with updated settings, it fails to redeploy.

https://cloud.google.com/run/docs/configuring/cpu-allocation

Please submit feature requests through our [support page](https://firebase.google.com/support/troubleshooter/report/features/).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.