Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Manage functions requests and limits by env vars #471

Merged
merged 3 commits into from
Oct 2, 2023

Conversation

taorepoara
Copy link
Member

@taorepoara taorepoara commented Oct 2, 2023

About this PR

The OpenFaaS functions may have some problem with the basic cpu and memory definitions. This allow us to change it with env vars.

How to test my changes

Define one of the 4 env vars:

  • FAAS_REQUEST_CPU
  • FAAS_REQUEST_MEMORY
  • FAAS_LIMIT_CPU
  • FAAS_LIMIT_MEMORY

Checklist

  • I didn't over-scope my PR
  • My PR title matches the commit convention
  • I did not include breaking changes
  • I made my own code-review before requesting one

I included unit tests that cover my changes

  • 👍 yes
  • 🙅 no, because they aren't needed
  • 🙋 no, because I need help

I added/updated the documentation about my changes

  • 📜 README.md
  • 📕 docs/*.md
  • 📓 docs.lenra.io
  • 🙅 no documentation needed

@taorepoara taorepoara marked this pull request as ready for review October 2, 2023 06:48
@taorepoara taorepoara self-assigned this Oct 2, 2023
@taorepoara taorepoara added the enhancement New feature or request label Oct 2, 2023
shiipou
shiipou previously approved these changes Oct 2, 2023
@taorepoara taorepoara merged commit 377aee1 into beta Oct 2, 2023
4 checks passed
@taorepoara taorepoara deleted the env-requests-limits branch October 2, 2023 09:33
@taorepoara
Copy link
Member Author

🎉 This PR is included in version 1.0.0-beta.178 🎉

The release is available on:

Your semantic-release bot 📦🚀

@taorepoara
Copy link
Member Author

🎉 This PR is included in version 1.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants