jupyterhub / jupyter-server-proxy

Jupyter notebook server extension to proxy web services.
https://jupyter-server-proxy.readthedocs.io
BSD 3-Clause "New" or "Revised" License
346 stars 147 forks source link

Tensorboard w/ Jupyter server Proxy #150

Open tanguycdls opened 4 years ago

tanguycdls commented 4 years ago

Hi I'm trying to use Jupyter server proxy extension to run Tensorboard and access it directly! I tested with /proxy/port and it works great, however I wanted to add the possibility to start it using https://jupyter-server-proxy.readthedocs.io/en/latest/server-process.html#specifying-config-via-traitlets (to be able to use simply the new tensorboard button and not have to start a terminal each time).

I created a file '''jupyter_notebook_config.py''' copied to /root/.jupyter/jupyter_notebook_config.py with the following content :

c.ServerProxy.servers = {
  'tensorboard': {
    'command': ['tensorboard', '--logdir', '/tensorboard' , '--port', '{port}']
  }
}

Do you have an idea about whats going on ?

Thank you for your help,

Config: Inside Kubeflow (kubernetes) last version of Jupyter server Proxy and version 1.15 of Tensorboard.

rahulpshah commented 4 years ago

You might want to look at this PR - https://github.com/tensorflow/tensorboard/pull/3674