-
Notifications
You must be signed in to change notification settings - Fork 795
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
Inconsistent memory req/lim between single-userserver and user-placeholder #3539
Comments
Actually it's even stranger now that I see the calculated value in user-server fields, while it would make more sense to find it in those of user-placeholder. |
I've tried replacing requests/limits with
And BackOff-ing hub 🤷 |
Hehe sorry for the trouble with this, a workaround is to specify 123456... bytes directly. The issue is that JupyterHub's k8s unaware config is used AND k8s native specification, and the translation cause issues. In the jupyterhub software, or traitlets config system software, the M means Mi, and in the k8s specification it means M and not Mi. So, to avoid mismatch, use the lowest possible specification - the number of bytes as a plain integer. |
Yep, just fixed with bytes. But I believe this should be fixed in chart somehow?.. |
Yes! A fix is most welcome btw |
Bug description
My configuration
Results in
So 1887436800 bytes obviously is 1800Mi(B), which is
1887,4368
M(B), so not what I've requested.1800M is a correct notation for MB, and should result in 1800000000 bytes (~1717 MiB)
For my HW this means that VM can fit 3 user-servers and 4 user-placeholders 🤷
Configuration
Z2JH 3.2.1
The text was updated successfully, but these errors were encountered: