-
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
Add resource limits/requests to the devfiles and plugins in the registries #16685
Comments
Issues go stale after Mark the issue as fresh with If this issue is safe to close now please do so. Moderators: Add |
I can relate to this as I get "heap overflow" when trying to run/debug the haskell sample in che osio |
haskell tryout is here including devfile |
Discussed yesterday: @azatsarynnyy should create a specific issue for Theia: profiling and setting of request/limits in meta.yaml. Whereas @ericwill team will start profiling strategic plugins (i.e. those that we deliver on CRW). |
this can be a problem |
Those limitations will be applied to all the plugins as the first iteration. |
Some plugins are described in che-theia.yaml: need to add resources limits/requests into them as well |
@vitaliy-guliy @ericwill @svor folks, could you please clarify what is missing in this epic? Are we already specify limits & requests for every devfile & plugin in our registries? |
@ibuziuk We still have 3 subtasks to be done, you can see that in the description |
@svor right, there are some bullet points in the description but looks like there are no related issues for sub-tasks. is it planned to be addressed in the next sprint according to the label? |
@l0rd do you want us to take this epic into the next sprint and finish it? |
just for the record, default CPU limits might be applied on workspaces.openshift.com infra in the future. So, we need to make sure that all our devfiles & plugins specify the limits & requests explicitly. Otherwise, the default might be applied, which could lead to the performance issues during the workspace usage. |
@svor yes for "Specify che-theia-plugins memory requests in che-theia-plugin.yaml" and "Add a che-plugin-registry PR check to avoid editors or plugins without mem/cpu requests and limits". The last one has lower priority and needs a dedicated epic (I will create it). |
OK, we'll take it into the next sprint |
@vitaliy-guliy could we adjust the memory limit for the machine exec plugin? |
Sure, I will try to to give it 128Mb of RAM, as we already set that value for |
@l0rd "Specify che-theia-plugins memory requests in che-theia-plugin.yaml" and "Add a che-plugin-registry PR check to avoid editors or plugins without mem/cpu requests and limits" subtasks are done. |
@svor I would like to close this epic and open a different one dedicated to the last subtask "Evaluate target namespace ResourceQuota and LimitRange to evaluate and applyg the best mem/cpu requests and limits" with a label |
@l0rd sounds good to me, that was the plan:
|
Follow up epic for CPU/MEM check at runtime #20509 |
Is your enhancement related to a problem? Please describe.
If no limits are set the Che default will be inferred. That may result in workspace not able to be scheduled in the Kubernetes cluster.
Describe the solution you'd like
Look for CPU/memory request and limits for each plugins and explicitely specify them. The same for containers components in devfiles.
Additional context
Evaluate target namespacewill be solved in the context of this epicResourceQuota
andLimitRange
to evaluate and applyg the best mem/cpu requests and limitsThe text was updated successfully, but these errors were encountered: