-
Notifications
You must be signed in to change notification settings - Fork 99
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 plugins #461
Conversation
Signed-off-by: svor <vsvydenk@redhat.com>
Signed-off-by: svor <vsvydenk@redhat.com>
Signed-off-by: svor <vsvydenk@redhat.com>
@svor - generic query about this - how did you find/calculate/deduce on the values mentioned in all plugins here ? Am guessing unless we try these on all arches , we wouldn't know (
|
@ghatwala this investigation was done in the upstream eclipse-che/che-plugin-registry#774. And you are right we should test these changes on all arches to guarantee that it doesn't break anything. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 , for trying these on all arches, to check if it breaks anywhere .
I'm +1 to merge this but was just wondering what the units are and what these actually do...
Does that mean this plugin will ask for a minimum of 0.030 and maximum of 0.500 virtual CPUs? Is the "m" for milli, as in 1/1000th of a virtual CPU? |
https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu Basically the |
@nickboldt |
* Add resource limits/requests to the plugins Signed-off-by: svor <vsvydenk@redhat.com> * update cpuRequest for che-theia editor Signed-off-by: svor <vsvydenk@redhat.com> * code cleanup Change-Id: If4f6b9a9e40d79b1ae1142228defba890865eaba Signed-off-by: svor <vsvydenk@redhat.com>
cherrypicked to 2.8 branch as 28fd926 |
What does this PR do?
Adds
cpuLimit
andcpuRequest
into plugin yamls. All values were ported from the upstream.What issues does this PR fix or reference?
https://issues.redhat.com/browse/CRW-1637