-
Notifications
You must be signed in to change notification settings - Fork 213
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
How to set limits for functions faasd + containerd #87
Comments
Hi it's not supported at present. A number of features will not be available in faasd. What's the usecase you have with regards to the limiting and what would you expect to happen if that was exceeded? |
Hello! |
Once killed are you expecting it to be restarted? What specific workload are you running right now? Also 1MB of RAM isn't that realistic, so I'm wondering if this is a genuine need or more because that's just what you expected? The answer will help us triage the request |
Once killed I expect what function will be restarted and can be called again because there can be different input data. |
Ok, got it. What are you specifically wanting to use faasd with at the present time? |
I need a solution that can run in kubernetes and on baremetal. After some research, I found that openfaas is the best solution because it can be deployed on baremetal with faasd. |
OK I don't think I'm asking correctly or maybe you are not so keen to share - but do you have a use-case, if so what? (languages, usage of it, application, events, other requirements etc?) |
My use case is to let users start their scripts for some calculations. |
Is this a multi-tenant environment then? I would be very careful of using faasd for that, since it has no isolation or way of blocking a container running as root (at present) You may prefer openfaas on Kubernetes backed by gVisor or Kata containers. You'll also find the requests/limits there. But, for anyone landing here: we will look into container limits for faasd. Contributions are welcome :-) |
This code could be of use to us from Michael’s boss project. I can see a way to set a limit, but not sure if “requests” is a containerd or K8s concept. @AkihiroSuda do you know? |
Hello!
How can I set limits for functions? I tried this
And this
And it doesn't work.
The text was updated successfully, but these errors were encountered: