Skip to content

Commit

Permalink
Merge pull request #87 from VIDA-NYU/add_cull_for_jupyterhub
Browse files Browse the repository at this point in the history
add cull for unused/inactive server
  • Loading branch information
EdenWuyifan authored Dec 1, 2023
2 parents 5349343 + 2ffca37 commit 740c470
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions kubernetes/values.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
hub:
config:
Authenticator:
admin_users:
allowed_users:
- yfw215
- demouser
admin_users:
- yfw215
DummyAuthenticator:
password: 'alpha_automl'
JupyterHub:
admin_access: true
authenticator_class: tmpauthenticator.TmpAuthenticator
TmpAuthenticator:
auto_login: false
shutdownOnLogout: true
networkPolicy:
enabled: false
concurrentSpawnLimit: 32
proxy:
service:
type: ClusterIP
Expand All @@ -31,6 +36,18 @@ singleuser:
image:
name: ghcr.io/vida-nyu/alpha-automl
tag: latest-jupyterhub
extraFiles:
jupyter_notebook_config.json:
mountPath: /etc/jupyter/jupyter_notebook_config.json
data:
TerminalManager:
cull_inactive_timeout: 3600
cull_interval: 120
MappingKernelManager:
cull_idle_timeout: 3600
cull_interval: 120
cull_connected: true
cull_busy: false
scheduling:
userScheduler:
enabled: false
Expand All @@ -45,4 +62,8 @@ ingress:
- alpha-automl.hsrn.nyu.edu
tls:
- hosts:
- alpha-automl.hsrn.nyu.edu
- alpha-automl.hsrn.nyu.edu
cull:
enabled: true
timeout: 3600
every: 120

0 comments on commit 740c470

Please sign in to comment.