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

Limit resources for users CPU, RAM and test #112

Closed
lux12337 opened this issue Dec 17, 2019 · 4 comments
Closed

Limit resources for users CPU, RAM and test #112

lux12337 opened this issue Dec 17, 2019 · 4 comments

Comments

@lux12337
Copy link
Contributor

No description provided.

@lux12337 lux12337 added this to To do in Maintaining Cluster via automation Dec 17, 2019
@moorepants
Copy link
Member

It still isn't clear if this is properly working. Testing is still needed to see if users are limited if they request too many resources.

@rkevin-arch
Copy link
Member

This is definitely working. We have resource constraints of 8GB memory and 4 CPU cores. Here's me stress testing memory, and the process got killed while it is at the 7GB memory mark, despite the host having 16GB of RAM:
image
Here's me stress testing CPU, while all cores are utilized the utilization didn't go to 100% (which it definitely would if 8 processes are in infinite loops):
image

Maintaining Cluster automation moved this from To do to Done Aug 20, 2020
@rkevin-arch
Copy link
Member

In other news, we aren't limiting PIDs so we are vulnerable to a fork bomb, but #50 is already tracking that and I haven't found a good solution yet (there is a solution that involves setting pod-max-pids on all kubelets, but that involves screwing around with the config). I'll update that issue if I find anything.

@moorepants
Copy link
Member

Sounds good. Thanks.

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

No branches or pull requests

3 participants