-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Describe the feature
As an admin user I want to set resource limits for users So That one user does not block other users.
Describe the problems your feature request solves
The current installation setup adds users without any resource limits. Thus pne user can use all available CPU, memory and storage space. This type of usage creates problems for other users.
Describe the solution you'd like
Each new user account has the following resource limits set.
[users.resourcelimits]
cpus = 4 # virtual CPUs
memory = 4g # RAM space
pids = 4000 # number of processesThe python poetry project code in cli ditectory must be updated so that:
- The docker compose yaml templates are updated
- The above resource limits specified in ini format get added to
dtaas.tomlfile. - Python code uses these templates and new
dtaas.tomlconfiguration when creating new users.
Describe alternatives you've considered
A possibility is to set top-level resource limits in all the docker compose files in docker directory but that is too restrictive.
Additional context
None
Success Criterion
Checklist:
- New users have resource limits set
- Test coverage is improved
- No qlty issues
Copilot
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request