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
[Bug]: Container size not recognized when CPU limit is not set #1730
Comments
Hmm, well not setting limits is lazy, you just shift the problem handling to the VM / Worker Node Level and allow containers to grab resources. Maybe you also have to differentiate here between CPU and Memory ... |
I agree that memory should have set limits, mentioned article seems to agree on that point as well. Although this is also double-edge sword - I've noticed that often when the process attempts to exceed it's limit it's simply OOM Killed rather than just prevented from growing. As for CPU, I'd say that whenever setting limits is helpful or not largely depends on cluster's use case. If it's a production cluster where some resources must be guaranteed from starvation and it's advisable to prevent any form of cpu starvation then sure, limits are probably a good idea. Especially since kubernetes will grant different QoS classes to pods depending on how requests/limits are set In my use case however we're talking about bare-metal cluster that is exclusively dedicated for data analytics (hence usage of RHODS 🙂). In that case, as long as I can have some guarantees that the cluster won't starve it's core components to death (it's single master node cluster... for now), which CPU and memory reequests alone seem to provide - I don't care if my data analyst's notebook takes 6 cores or 126 cores. As long as it doesn't excessively affect other workloads and any excess resources are split evenly between loads that request them, it's all good. |
Is there an existing issue for this?
Deploy type
Downstream version (eg.
RHODS 1.29
)Version
RHODS 1.31
Current Behavior
When I modify worspace sizes to ones that include both requests but limit only memory usage, after selecting they're applied correctly but later not recognized by ODS dashboard
Expected Behavior
workspace sizes should be correctly recognized in dashboard
Steps To Reproduce
Workaround (if any)
Set CPU limits
What browsers are you seeing the problem on?
Firefox, Chrome, Microsoft Edge
Anything else
My reasoning behind not setting CPU limit comes from this blog post: https://home.robusta.dev/blog/stop-using-cpu-limits
The text was updated successfully, but these errors were encountered: