Skip to content
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

resource request behavior difference within Z2jh 1.2 and2.0 #3400

Closed
linlol opened this issue Apr 17, 2024 · 1 comment
Closed

resource request behavior difference within Z2jh 1.2 and2.0 #3400

linlol opened this issue Apr 17, 2024 · 1 comment
Labels

Comments

@linlol
Copy link

linlol commented Apr 17, 2024

Bug description

I override user's resource allocation via c.KubeSpawner.options_form with a default profile (by default, I have cpu 0.5/2, memory 2gi/8gi)

In z2jh 1.2 and jupyterhub 2, I can spawn user in admin page, with default profile.

In z2jh 2.0 and jupyterhub 3, looks like if I spawm user in admin page, jupyterhub would not load my profile override, with limit resource unspecified and got error from k8s API server

Also, it works if I open spawn page and select profile

How to reproduce

  1. In z2jh 2 and jhub 3
  2. Specify CPU/memory via set profile _list in c.KubeSpawner.options_form
  3. Open admin page and select user there

Expected behaviour

Actual behaviour

Your personal set up

  • OS:
    Ubuntu 22.04, k8s 1.28.3
Full environment
# paste output of `pip freeze` or `conda list` here
Configuration
# jupyterhub_config.py
Logs
Copy link

Hi there @linlol 👋!

I closed this issue because it was labelled as a support question.

Please help us organize discussion by posting this on the https://discourse.jupyter.org/ forum. If it's your first time posting
please read https://discourse.jupyter.org/t/getting-good-answers-to-your-questions/1825.
The more information you provide the more likely we can help you.

Our goal is to sustain a positive experience for both users and developers. We use GitHub issues for specific discussions related to changing a repository's content, and let the forum be where we can more generally help and inspire each other.

Thanks you for being an active member of our community! ❤️

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants