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

Manage the culling of Jupyter Server with scheduled jobs to support JupyterHub #563

Open
thomasLeclaire opened this issue Nov 28, 2024 · 4 comments
Labels
enhancement New feature or request
Milestone

Comments

@thomasLeclaire
Copy link

Problem

In the context of JupyterHub, we should have some way to bypass the culling if some notebook are currently scheduled on the jupyterserver of an user.

Proposed solution

no real ideas :-(

@thomasLeclaire thomasLeclaire added the enhancement New feature or request label Nov 28, 2024
@andrii-i
Copy link
Collaborator

Hi @thomasLeclaire. Thank you for creating this issue. Could you please elaborate on the problem providing a more detailed description of the problem and reproduction path?

@andrii-i andrii-i added the status:Needs info This issue needs further information from the author to progress label Nov 29, 2024
@sunayansaikia
Copy link

@andrii-i -- If I'm not wrong, the requirement is that JupyterHub has a feature to cull Jupyterlab servers upon no user activity (ref: service-to-cull-idle-servers. However any jobs scheduled using 'jupyter-scheduler' probably is not considered as an actvity by Jupyterlab server and consequently JupyterHub will cull the jupyterlab server thinking that the jupyterlab server is idle (doing nothing).

Can there be enhancements done to 'jupyter-scheduler' to let the jupyterlab server somehow detect the jobs being scheduled as an 'activity' and ultimately not getting itself culled by JupyterHub? However, if no jobs are scheduled, I think this can be considered as a 'no activity'.

@andrii-i andrii-i changed the title Manage the culling on jupyterHub Manage the culling of Jupyter Server with scheduled jobs to support JupyterHub Dec 4, 2024
@andrii-i andrii-i removed the status:Needs info This issue needs further information from the author to progress label Dec 4, 2024
@andrii-i
Copy link
Collaborator

andrii-i commented Dec 4, 2024

Thank you for the details.

@andrii-i andrii-i added this to the Future milestone Dec 6, 2024
@andrii-i
Copy link
Collaborator

Potentially related changes on the server (not released yet) jupyter-server/jupyter_server#1429

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants