Open cgruver opened 1 week ago
Hello, @cgruver
It remind me Kubernetes ResoureQuotas. Why not to use it?
@cgruver in the recent release we introduced a new feature allowing configuring user namespaces with an OpenShift template which I believe should address this issue - https://github.com/eclipse-che/che/releases/tag/7.94.0
@ibuziuk Let me take a look at that.
I would still like to consider configurable defaults.
Plus, it feels like an anti-pattern that we set limit and requests to be the same if only one of them is specified.
I may open that as a separate issue. IMO, it's a bug that I can override a default by setting a different parameter.
I would still like to consider configurable defaults.
Well, it is configurable as soon as limit ranges are applied on the namespace level, right? The analogy would be the default flat pod network which is configurable on the cluster by applying specific network policies.
Plus, it feels like an anti-pattern that we set limit and requests to be the same if only one of them is specified.
Well, this is a nuanced approach - CDE is guaranteed the requested resources, preventing performance degradation for more or less stable workloads
Is your enhancement related to a problem? Please describe
An inexperienced developer can cause a cluster node to become unschedulable by creating a devfile which has extreme values for
cpuRequest
ormemoryRequest
Describe the solution you'd like
cpuRequest
&memoryRequest
values.cpuRequest
&memoryRequest
entries in a devfiles.cpuLimit
ormemoryLimit
is set in a devfile, thecpuRequest
&memoryRequest
should still use the default values and not be set to the requested limits.Describe alternatives you've considered
No response
Additional context
No response