-
Notifications
You must be signed in to change notification settings - Fork 100
Fixes #672 #673
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
Fixes #672 #673
Conversation
|
Hi @krishvoor. Thanks for your PR. I'm waiting for a 3scale member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
Hi @eguzki 👋 |
|
Hi @krishvoor, Can you run Thank you. |
This PR aims at increasing limits, requests for backend-cron so as it can be deployed on ppc64le Signed-off-by: Krishna Harsha Voora <krishvoor@in.ibm.com>
| Limits: v1.ResourceList{ | ||
| v1.ResourceCPU: resource.MustParse("150m"), | ||
| v1.ResourceMemory: resource.MustParse("150Mi"), | ||
| v1.ResourceCPU: resource.MustParse("500m"), |
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.
I understand the value chosen for the resource requests were values that were needed to be able to start the pod in ppc64.
What's the reasoning behind the chosen resource limits values?
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.
In our smoke-testing, on ppc64le, we reproduced the successful deployment, only with these resource allocations.
Anything less than chosen values results in an OOMKilled situation.
|
Code Climate has analyzed commit 43bd69d and detected 0 issues on this pull request. View more on Code Climate. |
|
Am I correct to understand that we bump minimal needed resources for all users while only needed for ppc64le? Would it make sense/be possible to specify resources depending on OS or to make them editable and document how user running ppc64le should up them? (not for 2.11.1 but in a future update) |
|
Actually, this is not the first time we increase the default limits of this very same component for the release 2.11.0. It was done here #592 Some notes:
After said that, it is all about the defaults. With the given defaults, 3scale can be deployed in x86_64 and ppc64le with the minimum requried a little bit increased: (50millicores of cpu and 60Mb of memory). The customization of the limits and requests through the CR has been available for at least. It would require a documentation note, though. Regarding OS dependent limit values, one question. Can we assume that all nodes in a cluster run with the same OS arch? On the other hand, if the answer is yes and all nodes are running expected OS arch, then implementing defaults depending on the OS would make sense to lower required resources for x86_64 |
This PR aims at increasing limits, requests for backend-cron
so as it can be deployed on ppc64le
Signed-off-by: Krishna Harsha Voora krishvoor@in.ibm.com