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

JupyterHub/Kubespanwer: found procedure to get working #30

Open
tlkh opened this issue Oct 14, 2018 · 2 comments
Open

JupyterHub/Kubespanwer: found procedure to get working #30

tlkh opened this issue Oct 14, 2018 · 2 comments

Comments

@tlkh
Copy link

tlkh commented Oct 14, 2018

Hi everyone, I figured out how to get this working in a JupyterHub/Kubespawner setup:

(assume packages are already installed)

  1. Log in
  2. Run jupyter tensorboard enable
  3. Stop server, login again
  4. It works!

Reason: jupyter tensorboard enable cannot be run as part of Dockerfile since the home directory is not mounted until after the container is created. A bit annoying but I'm not yet sure how to work around it.

@consideRatio
Copy link

@tlkh thanks for documenting this! I think that if you use the --sys-prefix you can enable it outside of the users home directory. Below you see my output from jupyter serverextension list that shows how it is enabled in two configuration files because I've now run it with and without the --sys-prefx.

config dir: /home/jovyan/.jupyter
    jupyter_tensorboard  enabled
    - Validating...
      jupyter_tensorboard 0.1.8 OK
config dir: /opt/conda/etc/jupyter
    jupyterlab  enabled
    - Validating...
      jupyterlab 0.35.4 OK
    nbdime  enabled
    - Validating...
      nbdime 1.0.3 OK
    nbgitpuller  enabled
    - Validating...
      nbgitpuller 0.6.1 OK
    nbresuse  enabled
    - Validating...
      nbresuse  OK
    nbserverproxy  enabled
    - Validating...
      nbserverproxy  OK
    nbrsessionproxy  enabled
    - Validating...
      nbrsessionproxy  OK
    jupyterlab_iframe.extension  enabled
    - Validating...
      jupyterlab_iframe.extension  OK
    jupyter_tensorboard  enabled
    - Validating...
      jupyter_tensorboard 0.1.8 OK

@gsnidero
Copy link

Hi,

I also find that with the --sys-prefx it still does not work. Every user in jhub need to run jupyter tensorboard enable.

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