Merge pull request #881 from consideRatio/curvenote/main

added `remove_named_servers` setting for jupyterhub-idle-culler
This commit is contained in:
Erik Sundell
2023-05-13 20:04:15 +02:00
committed by GitHub
3 changed files with 56 additions and 0 deletions

View File

@@ -40,6 +40,12 @@ the users will not be culled alongside their notebooks and will continue to exis
services.cull.users = False
```
If named servers are in use, they are not removed after being culled.
```python
services.cull.remove_named_servers = False
```
## Configuring the idle culler
The available configuration options are:
@@ -76,6 +82,16 @@ sudo tljh-config set services.cull.max_age <server-max-age>
sudo tljh-config reload
```
### Remove Named Servers
Remove named servers after they are shutdown. Only applies if named servers are
enabled on the hub installation:
```bash
sudo tljh-config set services.cull.remove_named_servers True
sudo tljh-config reload
```
### User culling
In addition to servers, it is also possible to cull the users. This is usually