Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multiple user servers #142

Closed
gsemet opened this issue Mar 9, 2018 · 3 comments
Closed

Support multiple user servers #142

gsemet opened this issue Mar 9, 2018 · 3 comments

Comments

@gsemet
Copy link
Contributor

gsemet commented Mar 9, 2018

Hello.
As of today, when one user starts a server, a pod with a name such as jupyter-<username> is created. I think it is a good practice to add a kind of sha1/tag in the name to allow multiple deployment. For example, hub has a name such as hub-66c9fb8db-rd8t9 instead of just hub (zero to jupyterhub config).

Being able to use a tag/sha1 in the name might allow the following features:

  • start an instance while the previous one is still "pending stop"
  • start a second instance (quite useful when Add kube profile spawner #137 will be finished). I guess some work still need to be done on jupyterhub itself, but that could be useful.
@clkao
Copy link
Contributor

clkao commented Mar 11, 2018

how about deploying into different namespaces?

@gsemet
Copy link
Contributor Author

gsemet commented Mar 11, 2018

Hello. Yes this the current situation, but some cannot easily instantiate a namespace per application, especially for testing. I guess it is the rational behind a majority of helm chart automatically adding the release name in front of each kube artefact. At least admin have the option to deploy n time the same app in the same namespace.

@consideRatio consideRatio changed the title Support multiple deployment Support multiple user servers Oct 25, 2020
@consideRatio
Copy link
Member

I interpret what @gsemet is saying as the wish to be able to have multiple user servers running. This is now something that JupyterHub itself can support with named servers.

I think it adds a bit too much complexity if the goal is to only have 1 single user server but be able to manage multiple sessions coming and going etc, especially since some pods will end up with storage that can only be mounted by one pod at the time or similarly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants