scaleway / serverless-scaleway-functions

Plugin for Serverless Framework to allow users to deploy their serverless applications on Scaleway Functions
MIT License
78 stars 25 forks source link

Flexible resource limits containers #157

Closed redanrd closed 1 year ago

redanrd commented 1 year ago

Summary

What's changed?

Add cpu limit field when creating/updating a container.

Why do we need this?

Allow users to enter a cpu limit in their serverless configuration file.

How have you tested it?

It is sufficient to uncomment cpu and/or memory in ./examples/container/serverless.yml with chosen valid values as in the README instructions.

cd ./examples/container
serverless deploy

Checklist