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

Multi user for Jupyterhub #2577

Closed
gidutz opened this issue Feb 28, 2019 · 4 comments
Closed

Multi user for Jupyterhub #2577

gidutz opened this issue Feb 28, 2019 · 4 comments
Labels
area/jupyter Issues related to Jupyter kind/question

Comments

@gidutz
Copy link

gidutz commented Feb 28, 2019

When deploying Kubeflow on GKE, each user is authenticated using IAP.
When other Users would like to access the JupyterHub cluster (in order to work on the same notebooks) they get forbidden warning.

The same issue can be applied on other deployments. the user that created the cluster should be given Admin privilege and should be an easy way to add and remove users from the cluster

screen shot 2019-02-28 at 13 18 35

@jlewi jlewi added kind/question area/jupyter Issues related to Jupyter labels Feb 28, 2019
@jlewi
Copy link
Contributor

jlewi commented Feb 28, 2019

Are you trying to share jupyter kernels?

Why not have every user launch their own jupyter kernel and share notebooks (ipynb files) through git or NFS?

@gidutz
Copy link
Author

gidutz commented Feb 28, 2019

The idea is that the jupyter environment has two main goals:

  1. A dirty environment for research and EDA - I don't want to commit (push to repo) on a draft notebook. instead one can create a notebook server and let others use it to perform messy research together. This will also enable me to share files and outputs with users working on the same playground.

  2. Kaggle like kernels - lets say I want to commit to a notebook and share it with the team working on the project - for example - I developed an EDA that I want to share. It would have been nice if the pipelines screen would contain a tab for notebooks in which everyone can share useful notebooks and pipeline stages to be later used by other users.

I thinks that these stages would make Kubeflow an environment for mutually developing pipelines and not only running experiments of existing pipelines.

@jlewi
Copy link
Contributor

jlewi commented Mar 4, 2019

I think if you wanted to do this with JupyterHub in 0.4 you might be able to accomplish that by configuring JupyterHub auth. Right now we configure JupyterHub to use IAP and only the user that owns the notebook can access it.

In 0.5 we are working on removing JupyterHub and switching to using ISTIO to control access to notebooks.

With ISTIO a cluster admin should just be able to modify the ISTIO service rules in order to grant multiple users access to a particular jupyter instance.

@gidutz
Copy link
Author

gidutz commented Mar 4, 2019

Awsome!

@gidutz gidutz closed this as completed Mar 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/jupyter Issues related to Jupyter kind/question
Projects
None yet
Development

No branches or pull requests

2 participants