-
Notifications
You must be signed in to change notification settings - Fork 18
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
Integration with current JupyterHub #296
Comments
@jbaksta I asked a similar question in the forum sometime ago ... https://cylc.discourse.group/t/jupyterhub-running-the-cylc-ui-alongside-other-applications/327 |
The uiserver is now a jupyter server extension (#230). This means JupyterLab and the uiserver can run under a single jupyter server instance so that you can easily switch between JupyterLab and the Cylc UI. We haven't had time to experiment much with this yet and I don't think there is any documentation. However, if you install JupyterLab in the same Conda environment as Cylc and then run the Cylc UI you should find JupyterLab is accessible via |
I've opened #298 to cover further investigation and documentation |
Hello, apologies, we haven't got around to documenting the UI Server properly yet. Running Jupyter Lab alongside the Cylc UI ServerAs @dpmatthews says the Cylc UI Server is now a Jupyter Server extension which puts it at parity with Jupyter Lab. Jupyter Server can run multiple extensions simultaneously so you can run Jupyter Lab and the Cylc UI Server in the same server instance. By default Jupyter Server launches all installed server extensions. You can control which extensions are launched using
Switching between extensionsJupyter Server extensions are served behind their own URL, Jupyter Lab is You can switch between extensions by changing the URL, I'm not sure whether there is a more elegant solution. Within the Cylc UI Server we can easily add links to other extensions, however, we can't so easily add links within the other extensions to Cylc. Configuring Jupyter HubCylc provides its own command ( The Cylc configurations can be found in this file: The If you want to use Jupyter Hub standalone you will need to add the |
This is more of a generic question I've not found a clear answer for through the documentation or by browsing the issues so far.
My team runs a successful and very integrated JupyterHub installation on our supercomputers and clusters where the submission portal is the same for any resources. Rather than running a secondary hub for a second web application that, I'm curious is there is any advice/information on simply running cylc-uiserver under a current JupyterHub implementation.
We have a customized spawner that I'd like not to reinvent, but rather put an option in our spawner to start Cylc instead of JupyterLab. As there is a simple
jupyter-cylc
launched as part of things, I'm hoping this is more straight forward than what I'm thinking. My ultimate goal is to have cylc as part of our drop down form and that will automatically start cylc-uiserver at the URLhub.tld/cylc
.Additionally, since many of our Cylc users are also JupyterHub users, I'd want to create a JupyterLab menu item that could be integrated to navigate to the cylc-ui as many of our users simply like accessing the Terminal application as well to create additional workflows.
I've been spinning development instances, but haven't been successful yet on direct integration. I'd really prefer not to run a second hub because I'm being pushed to have a SSO feels like approach.
Just looking for a starting point or to understand whether this is a desired use case from the Cylc developers.
The text was updated successfully, but these errors were encountered: