Skip to content

Commit

Permalink
Update sample jupyterhub_config.py for JupyterHub 0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
yuvipanda committed Oct 7, 2017
1 parent 3755877 commit 5ed86f1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion jupyterhub_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,16 @@
c.KubeSpawner.start_timeout = 60 * 5

# Our simplest user image! Optimized to just... start, and be small!
c.KubeSpawner.singleuser_image_spec = 'yuvipanda/simple-singleuser:v1'
c.KubeSpawner.singleuser_image_spec = 'jupyterhub/singleuser:0.8'

# The spawned containers need to be able to talk to the hub through the proxy!
c.KubeSpawner.hub_connect_ip = os.environ['HUB_CONNECT_IP']
c.JupyterHub.hub_connect_ip = os.environ['HUB_CONNECT_IP']

c.KubeSpawner.singleuser_service_account = 'default'
# Do not use any authentication at all - any username / password will work.
c.JupyterHub.authenticator_class = 'dummyauthenticator.DummyAuthenticator'

c.KubeSpawner.user_storage_pvc_ensure = True

c.JupyterHub.allow_named_servers = True

0 comments on commit 5ed86f1

Please sign in to comment.