Skip to content

Accessing Orca deployment from JupyterLab on K8s #258

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

Closed
TiemenSch opened this issue Oct 7, 2019 · 3 comments
Closed

Accessing Orca deployment from JupyterLab on K8s #258

TiemenSch opened this issue Oct 7, 2019 · 3 comments

Comments

@TiemenSch
Copy link

I have a question regarding the accessing of the Orca server using plotly.io when it's ran as a separate deployment on a Kubernetes setup. How would you typically configure the communication from any typical "singleuser" notebook to the externally running Orca server?

Context:
I'm currently working on a Kubernetes deployment of JupyterLab using the Zero-to-JupyterHub guide. Running plotly orca in a separate deployment would reduce the singleuser image size and complexity quite a bit and keep things neatly compartmentalized. Otherwise each and every singleuser container would contain a complete xvfb install!

@antoinerg
Copy link
Collaborator

You're right that getting Orca running on a headless system can be tricky and it is much simpler/cleaner to have it run in its own container.

I'm not familiar with our tools in JupyterLab at the moment so I don't know how to call an externally running Orca server but I imagine it should be simple to do.

@jonmmease @nicolaskruchten can you please answer this one?

@jonmmease
Copy link
Contributor

Unfortunately, this isn't supported in plotly.py yet. See plotly/plotly.py#1570 for more info.

@antoinerg
Copy link
Collaborator

antoinerg commented Nov 13, 2019

@TiemenSch it will be possible to call an externally running Orca in the next release of plotly.py (it should be in 4.3.0). See PR plotly/plotly.py#1850 for details!

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