-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Ability to set resource quotas per user #19767
Comments
I think in the context of devworkspaces it's also related to #20219 |
Issues go stale after Mark the issue as fresh with If this issue is safe to close now please do so. Moderators: Add |
/remove-lifecycle stale |
Issues go stale after Mark the issue as fresh with If this issue is safe to close now please do so. Moderators: Add |
/remove-lifecycle stale |
Issues go stale after Mark the issue as fresh with If this issue is safe to close now please do so. Moderators: Add |
/remove-lifecycle stale |
Issues go stale after Mark the issue as fresh with If this issue is safe to close now please do so. Moderators: Add |
/remove-lifecycle stale |
Is your enhancement related to a problem? Please describe.
There is no way for an admin to limit the amount of memory/cpu/PV that a Che user is going to consume. That need to be done manually specifying the resources quotas at the namespace level.
Describe the solution you'd like
The
CheCluster
CR should have a some fields to specify users quotas for CPU/memory/PVChe server should create resource quotas when it creates the user namespace.
Other solution
If the namespace already exist, has been created by the Che SA, and the quotas do not match, we should update the namespace quotas with the values that are in the CheCluster CR. That can be done at workspace startup or as soon as the CheCluster is updated.
Additional context
We should wait for #19717 before implementing this.
This is only applicable if a Che user correspond to Kubernetes user (for example if openshift OAuth or kubeproxy are used) and if the namespace strategy is per user <== we should deprecate other strategies anyway.
The text was updated successfully, but these errors were encountered: