-
Notifications
You must be signed in to change notification settings - Fork 64
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
Use extraFiles feature to cull idle kernels #563
Conversation
This is great! Can you add a little docs too? items moved above |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one looks OK to me.
Wondering how this change will impact our users... I mean, do we need to ANN this somehow to be sure we are not breaking established workflows?
Good question - I guess the question is "what is the default behavior" for jupyterhub when this isn't configured? Because I assume that this what our behavior was, since this config wasn't taking effect right? Maybe related to that - @GeorgianaElena could you add a short section in our docs maybe here: https://pilot.2i2c.org/en/latest/admin/howto/control-user-server.html that explains what this behavior is expected to be for users? |
I think that before this, the kernels were just not being stopped, but rather the entire notebook servers after that default 1h. Right now, they are both 1h and I'm wondering what happens in this scenario, since the kernel stopping is seen by the notebook culler as "activity". Does this mean that the notebook server timeout is reset once a kernel is culled? Does this makes the notebook cull timeout be actually 1h + 1h? @yuvipanda, what do you think? |
Btw, I only see a server cull in the CB demo Hub: https://github.com/2i2c-org/pilot-hubs/blob/master/config/hubs/cloudbank.cluster.yaml#L245 Am I missing something or we do not have server culling in most of our Hubs? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @GeorgianaElena
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This LGTM - I made one comment in the pilot/
docs but 👍 after that!
And I was obviously missing something... I forgot to check the z2jh stuff before talking, thanks for the reminder! |
Not sure if that was clear - but you can now merge this whenever you feel like, @GeorgianaElena |
Thanks everybody! 🌞 |
Woohoo! 🚀 |
Todo:
Fixes #518