che icon indicating copy to clipboard operation
che copied to clipboard

Ability to set resource quotas per user

Open l0rd opened this issue 4 years ago • 9 comments

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/PV Che 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 https://github.com/eclipse/che/issues/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.

⚠️ This is not related to organizations/teams implementations

l0rd avatar May 07 '21 10:05 l0rd

I think in the context of devworkspaces it's also related to https://github.com/eclipse/che/issues/20219

skabashnyuk avatar Aug 02 '21 09:08 skabashnyuk

Issues go stale after 180 days of inactivity. lifecycle/stale issues rot after an additional 7 days of inactivity and eventually close.

Mark the issue as fresh with /remove-lifecycle stale in a new comment.

If this issue is safe to close now please do so.

Moderators: Add lifecycle/frozen label to avoid stale mode.

che-bot avatar Aug 19 '22 00:08 che-bot

/remove-lifecycle stale

l0rd avatar Aug 19 '22 11:08 l0rd

Issues go stale after 180 days of inactivity. lifecycle/stale issues rot after an additional 7 days of inactivity and eventually close.

Mark the issue as fresh with /remove-lifecycle stale in a new comment.

If this issue is safe to close now please do so.

Moderators: Add lifecycle/frozen label to avoid stale mode.

che-bot avatar Feb 15 '23 00:02 che-bot

/remove-lifecycle stale

l0rd avatar Feb 15 '23 01:02 l0rd

Issues go stale after 180 days of inactivity. lifecycle/stale issues rot after an additional 7 days of inactivity and eventually close.

Mark the issue as fresh with /remove-lifecycle stale in a new comment.

If this issue is safe to close now please do so.

Moderators: Add lifecycle/frozen label to avoid stale mode.

che-bot avatar Aug 14 '23 00:08 che-bot

/remove-lifecycle stale

l0rd avatar Aug 14 '23 18:08 l0rd

Issues go stale after 180 days of inactivity. lifecycle/stale issues rot after an additional 7 days of inactivity and eventually close.

Mark the issue as fresh with /remove-lifecycle stale in a new comment.

If this issue is safe to close now please do so.

Moderators: Add lifecycle/frozen label to avoid stale mode.

che-bot avatar Feb 10 '24 00:02 che-bot

/remove-lifecycle stale

l0rd avatar Feb 10 '24 01:02 l0rd