-
Notifications
You must be signed in to change notification settings - Fork 402
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
fix: bug in object store memory validation #332
Conversation
Noting some things (which will be added to docs): It's safest for Ray containers to set memory limits = memory request -- this is the surest way to avoid any inconsistencies in Ray's internal resource accounting. Ray and KubeRay generally use container resource limits to determine resource capacity. A large gap between requests and limits may introduce an inconsistency between what Ray thinks is available and what is actually available. It's usually best not to configure object store memory size manually -- best to leave it to Ray to configure it. That's done here. |
We are comparing memory to K8s Pod storage request instead of memory request. Add tests. Expand error message with more information. This error message is used in K8s events. More information here might be helpful. Update comments and log messages for clarity and smoother English usage. Make repeated strings constants.
* fix: bug in object store memory validation We are comparing memory to K8s Pod storage request instead of memory request. Add tests. Expand error message with more information. This error message is used in K8s events. More information here might be helpful. Update comments and log messages for clarity and smoother English usage. Make repeated strings constants. * fixup: address PR feedback
We are comparing memory to K8s Pod storage request
instead of memory request.
Add tests.
Expand error message with more information.
This error message is used in K8s events.
More information here might be helpful.
Update comments and log messages for clarity and smoother English usage.
Make repeated strings constants.
Checks