jupyter-on-openshift / jupyterhub-quickstart

OpenShift compatible version of the JupyterHub application.
Apache License 2.0
101 stars 107 forks source link

other kernel support #18

Open jarcher opened 5 years ago

jarcher commented 5 years ago

have you considered adding ootb kernels for R, Mathematica and octave?

GrahamDumpleton commented 5 years ago

Kernels are not added as part of JupyterHub, but to the Jupyter notebook images. Do you mean you want to see variants of https://github.com/jupyter-on-openshift/jupyter-notebooks with additional kernels?

keithfenechgig commented 3 years ago

@GrahamDumpleton I would like to see that please. I am trying creating a conda env and would like to use that as the kernel rather than Python3 (default one)

GrahamDumpleton commented 3 years ago

@keithfenechgig Use the official Jupyter project images if you want conda and other kernels. See:

keithfenechgig commented 3 years ago

I am using the open data hub operator to install Jupyter hub

I am then using the open data hub provided minimal notebook and creating a custom notebook based on.

I had a look at the link that you provided however the minimal-notebook there doesn't seem to come with conda.

The second problem is the size of these images. The base-notebook image is close to 3GB in size. This means they cannot be used on OpenShift environments, such as OpenShift Online, which cap image/container filesystem size at 3GB. The minimal notebook image created from this repository in contrast is about 1GB in size. Part of the issue with the size of the Jupyter Project images appears to be due to the use of an ubuntu base image and Anaconda Python distribution.

GrahamDumpleton commented 3 years ago

The link I gave lists:

jupyter/base-notebook
jupyter/r-notebook
jupyter/minimal-notebook
jupyter/scipy-notebook
jupyter/tensorflow-notebook
jupyter/datascience-notebook
jupyter/pyspark-notebook
jupyter/all-spark-notebook

They are the official Jupyter project base images. They definitely use Anaconda Python.

As to the size of images, that is really only an issue with OpenShift Online and may not be an issue now as they increased the allowed image size since that was written.

Finally, if you are using Open Data Hub, then ask the Open Data Hub people for help. The Open Data Hub project is the only officially recognised project from Red Hat dealing with deploying Jupyter on OpenShift. This project here on GitHub you are reporting your issue against is not connected to Open Data Hub and they don't use anything from here. This project here is also notionally no longer maintained since Red Hat made Open Data Hub their project for running Jupyter notebooks on OpenShift, so this effort here was abandoned since they had no interest in it.

BTW, also perhaps look at:

They provide alternate examples for using Jupyter notebooks on OpenShift. They are examples only though and the Jupyter project can't really help you with them if you have issues.