You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configure a GCP function with version set to gen2 and memory set to a value greater than 512.
Build and deploy the function to GCP.
Expected outcome:
The function is deployed successfully and is allocated the correct amount of memory.
Actual outcome:
Deployment fails with the following error:
Invalid value specified for container memory. For 0.333 CPU, memory must be between 128Mi and 512Mi inclusive.
Notes:
It would be nice to automatically select the appropriate minimal value of CPU for the amount of memory the user has specified, but also add a cpu runtime config parameter to allow overriding that value. This way the solution would remain backwards compatible.
The text was updated successfully, but these errors were encountered:
Steps to replicate:
version
set togen2
andmemory
set to a value greater than 512.Expected outcome:
The function is deployed successfully and is allocated the correct amount of memory.
Actual outcome:
Deployment fails with the following error:
Notes:
It would be nice to automatically select the appropriate minimal value of CPU for the amount of memory the user has specified, but also add a
cpu
runtime config parameter to allow overriding that value. This way the solution would remain backwards compatible.The text was updated successfully, but these errors were encountered: