-
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
Include sidecars memory into total memory of workspace on dashboard #11801
Comments
The The possible solution that comes to mind is to add the memory-limit field in the plugin registry meta.yaml files. If not set the dashboard will override it to a default of 300MB. To overwrite the memory setting the dashboard should set the following attribute in the workspace config json: "sidecar.<plugin-id>.memory_limit": "300Mi" |
It is also possible that che-plugin.yaml doesn't contain memory limit field. Then Che master would use its default value. |
I agree that today it's very difficult to users to know how to override the memory as it's based on the container name, so even if you do know the plug-in which is installed you don't know why attribute to use. |
If we want to have a precise memory estimation than UD cannot do that technically. |
UD can do that if memory limit are in meta.yaml. UD can set the memory limit in workspcae configuration attributes. We don't need to add that to wsmaster API. Let's not make it more complicated than it is. |
Issues go stale after Mark the issue as fresh with If this issue is safe to close now please do so. Moderators: Add |
The issue is still actual. On dashboard I still see |
Issues go stale after Mark the issue as fresh with If this issue is safe to close now please do so. Moderators: Add |
The references UI is not available on the new dashboard |
Is there any plans to have some indicator that shows how many resources a workspace consumes? |
Description
When a Che 7 workspace is created, dashboard shows RAM consuming only for added by user machines and doesn't include sidecars (IDEs, plugins) in total sum. In such case dashboard shows needed RAM for workspace not correctly.
More specific example: user's container needs 1Gb of RAM (and this is shown), but actual consuming is, for example, 3Gb (2Gb is needed for sidecars).
Reproduction Steps
Create Che 7 workspace, add IDE and plugin(s). Dashboard shows memory only for user defined machine(s).
The text was updated successfully, but these errors were encountered: