I have setup jupyterhub on k8s with Jupyter Scheduler — jupyter_scheduler documentation to run background jobs.
I came back this morning and it seems like the server has stopped and the background jobs did not run.
Will jupyterhub turn off after x minutes of inactivity? And can I change this behaviour?
Jupyterhub itself wont terminate, but user servers will by default in a z2jh deployment of jupyterhub. There is settings under cull of the helm chart to toggle this, i recall cull.enabled=false will do the trick - see z2jh.jupyter.org and look within the configuration reference, and see jupyterhub-idle-cuööers readme on github for details on how things work.
3 Likes
Thanks! Will check if it works.
1 Like