question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

c.KubeSpawner.default_url = '/lab' is correct?

See original GitHub issue

I 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:closed
  • Created 6 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
jacogaspcommented, Mar 9, 2021

I still face this issue. For me c.KubeSpawner.default_url has no effect whatever url I set (/notebooks, /lab…)

1reaction
consideRatiocommented, Jan 10, 2019

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found