-
Notifications
You must be signed in to change notification settings - Fork 93
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
[ENH] - Make idle culler settings easily configurable and documented how to change #1283
Comments
Hi @costrouc, do they want a config per user structure, or they are happy to get it set in the |
@viniciusdc and @costrouc , we would be happy to set this in the |
Folks, what would it take to enable this? This is the number top complaint I've heard from ESIP Qhub users. Even if it wasn't configurable and just made longer by qhub devs, that would be wonderful. Right now it must be 5 minutes, right? It would be great if dask clusters spun down in 30 min, and notebooks spun down in 90 min or 3 hours. Just for comparison, AWS SageMaker Studio Lab, the free notebook offering from AWS, times out after 4 hours for a GPU, 12 hours for a CPU. |
Hi @rsignell-usgs, I will make sure this issue is prioritized for our next sprint (which starts next week). I can't promise it will be configurable from the |
Okay, thanks @iameskild. The users will definitely appreciate any improvement in the situation, even if not configurable! |
@iameskild , I remember you showed me how to (temporarily) override the short culler settings by connecting to some pod and editing a config file, right? After the upgrade from 0.4.3 to 0.4.4, the users are screaming again about the too-short timeout for their servers. |
Hey @rsignell-usgs, for now, you can manually edit the Although I still have to circle back to this when I have more time but as a quick update, I was looking into using Terraform's |
This can also be achieved using overrides on the jupyterhub configuration to change the idle-culling variable values. Right now, the values that can be changed are those here jupyterhub:
overrides:
cull:
users: true Some values come from the idle-culler extension that, as of now, only the above method can be used to update them. |
To change these, I can use k9s to ssh into the |
@rsignell-usgs yep, just edit the file. You may need to kill the hub pod for the changes to take effect. |
What is the filename once I've ssh'ed into the hub pod? |
Here's the workaround recipe that should modify the cull settings (at least until the next qhub/nebari version is deployed):
Just for the record, I set everything to 30 minutes:
|
Feature description
Currently much of the idle culler is hard coded. @rsignell-usgs brought this up as an issue that he was concerned about. The current timeout is too short in some cases.
Value and/or benefit
The default idle timeout does not work for everyone.
Anything else?
No response
The text was updated successfully, but these errors were encountered: