-
Notifications
You must be signed in to change notification settings - Fork 3
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
Easier display of dashboard #26
Comments
Unfortunately, as far as I know, this isn't possible. In my testing, it appears that the extension is just pointing at the normal dashboard web address (it doesn't have privileged access to the dashboard). Since the extension is running in your browser, it needs to be able to see the dashboard address. Would love to be proven wrong though! |
I think this comment might be relevant: dask/dask-labextension#41 (comment). In short, there are good security reasons to avoid dashboards. I think this is cluster handler he's talking about: https://github.com/dask/dask-labextension/blob/46cbdc102412b98ac8d67f9a8abed2ca3b332a8d/dask_labextension/clusterhandler.py#L14 |
Huh. He seems to be implying that if you start your Dask cluster through the cluster manager then the dashboard will be available via a backdoor. I haven't tried that out, but I do know that you can spawn a CHTCCluster using the labextension if you set the up the labextension config file correctly (#19 and #15). Would you mind trying that out and seeing if you can access the dashboard for a cluster created via that method without forwarding extra ports for it? |
I might be able to try it out with some documentation; I'm not sure how to setup the labextension config correctly. |
Gotcha; a minimal labextension:
factory:
module: 'dask_chtc'
class: 'CHTCCluster'
args: []
kwargs: {}
default:
workers: null
adapt: null |
Currently, I have to port-forward twice: once for Jupyter and once for the Dask Dashboard. It'd be nice to only require one of those:
Luckily, Dask has a Jupyterlab extension: https://github.com/dask/dask-labextension. Would it be possible to integrate this into Dask-CHTC? Then, I'd only have to forward one port I think:
The text was updated successfully, but these errors were encountered: