dask-labextension icon indicating copy to clipboard operation
dask-labextension copied to clipboard

[ENH] Toggle off the cluster manager section

Open jsignell opened this issue 5 years ago • 6 comments

The dask-labextension is the combination of two different concepts: cluster management (creation, scaling, and stopping) and dashboard viewing. I think that the dashboard section can be independently useful without the cluster manager. I propose adding a config flag to the plugin.json which would toggle on and off the cluster manager section.

For context, this came up at Saturn Cloud where we'd like to expose the dashboard components in jlab using dask-labextension, but we have our own mechanism for starting clusters that happens outside of jupyterlab.

jsignell avatar May 08 '20 14:05 jsignell

Making this configurable seems reasonable.

jacobtomlinson avatar May 20 '20 15:05 jacobtomlinson

Great! I am happy to work on an implementation.

jsignell avatar May 20 '20 19:05 jsignell

Making the cluster manager toggle-able makes sense to me. In fact, the earliest versions of this extension had only the dashboard viewer.

There were a few reasons we added the cluster manager, but one of them was that it made proxying the bokeh server connection through to the dashboard panes easier, and removed the user step of copying/pasting the dashboard URL. If you have your own method for creating clusters that doesn't fit well with the cluster manager UX, you may want to consider how we can feed the right URL to the dashboard viewer.

ian-r-rose avatar May 20 '20 20:05 ian-r-rose

Also, welcome back @jacobtomlinson!

ian-r-rose avatar May 20 '20 20:05 ian-r-rose

Thanks @ian-r-rose 😁

jacobtomlinson avatar May 20 '20 20:05 jacobtomlinson

Thanks @ian-r-rose, I think that dask-labextension mechanism for reading the dashboard_link from the client in the active notebook will suit my needs.

jsignell avatar May 21 '20 13:05 jsignell