-
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 ability to set CPU limits/requests on the plugin containers #15977
Conversation
Can one of the admins verify this patch? |
assembly/assembly-wsmaster-war/src/main/webapp/WEB-INF/classes/che/che.properties
Show resolved
Hide resolved
❌ E2E Happy path tests failed ❗ See Details
Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1) ℹ️ |
@mshaposhnik It is possible to configure CPU for plugin's init containers as well? Like for theia https://github.com/eclipse/che-plugin-registry/blob/master/v3/plugins/eclipse/che-theia/7.8.0/meta.yaml#L70 |
✅ E2E Happy path tests succeed 🎉 See Details
Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1) |
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.
Minor wording nitpick, otherwise LGTM.
...va/org/eclipse/che/workspace/infrastructure/kubernetes/wsplugins/MachineResolverBuilder.java
Outdated
Show resolved
Hide resolved
❌ E2E Happy path tests failed ❗ See Details
Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1) ℹ️ |
❌ E2E Happy path tests failed ❗ See Details
Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1) ℹ️ |
crw-ci-test |
✅ E2E Happy path tests succeed 🎉 See Details
Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1) |
ci-test |
1 similar comment
ci-test |
ci-test-please |
[ci-test] |
E2E tests of Eclipse Che Multiuser on OCP has failed: Use command [ci-test] to rerun the test. |
E2E tests of Eclipse Che Multiuser on OCP has failed: Use command [ci-test] to rerun the test. |
✅ E2E Happy path tests succeed 🎉 See Details
Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1) |
[ci-test] |
[ci-build] |
E2E tests of Eclipse Che Multiuser on OCP has failed: Use command [ci-test] to rerun the test. |
ci-test |
[ci-test] |
E2E tests of Eclipse Che Multiuser on OCP has been successful: |
What does this PR do?
Add ability to set CPU limits/requests as well on the plugin containers. Alwo memory request is added. Example of plugin configuration:
Note that CPU resources may be set both in cores (as
0.117
) and millicores (as117m
)Here is demo screenshot where all WS machines has different limit (mixed from default and explicitly set values):
What issues does this PR fix or reference?
#13709
Docs PR
Pending..