c.KubeSpawner.default_url = '/lab' is correct?
See original GitHub issueI set c.KubeSpawner.default_url = '/lab'
, but when I login from hub , the default url still is /tree
.
Other configuration:
c.KubeSpawner.singleuser_image_spec = 'jupyterhub/singleuser:latest'
c.KubeSpawner.singleuser_service_account = 'default'
c.JupyterHub.allow_named_servers = True
Issue Analytics
- State:
- Created 6 years ago
- Comments:11 (4 by maintainers)
Top Results From Across the Web
Developers - c.KubeSpawner.default_url = '/lab' is correct? -
I set c.KubeSpawner.default_url = '/lab' , but when I login from hub , the default url still is /tree . Other configuration: c....
Read more >jupyterhub_config.py - Kubespawner - Read the Docs
A JupyterHub spawner that spawn pods in a Kubernetes Cluster. Each server spawned by a user will have its own KubeSpawner instance. after_pod_created_hook...
Read more >jupyterhub/jupyterhub - Gitter
KubeSpawner.image_pull_secrets = 'my-image-secret' in hub. ... extraEnv: EDITOR: "vim" defaultUrl: "/lab" serviceAccountName: default image: name: ...
Read more >How to open a notebook on startup? - Jupyter Community Forum
Hello, I used this config to have a notebook open on startup a new session of JupyterHub on K8s on GCP. extraConfig: jupyterlab:...
Read more >Jupyterhub K8s - Issue with Changing User from Jovyan to ...
Here is the config.yaml singleuser: defaultUrl: "/lab" uid: 0 fsGid: 0 hub: extraConfig: | c.KubeSpawner.args = ['--allow-root'] c.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I still face this issue. For me
c.KubeSpawner.default_url
has no effect whatever url I set (/notebooks, /lab…)Hmmm I dont understand why, but perhaps you need to set c.Spawner.default_url rather than c.KubeSpawner.defualt_url? I recall some issue with this myself that i never grasped.
PS: this may be useful to have watched to better grasp whats going om: https://m.youtube.com/watch?v=_gYEVTaNuKU
See https://github.com/jupyterhub/zero-to-jupyterhub-k8s/blob/master/images/hub/jupyterhub_config.py