I have created Jupyterhub kubernetes and would like to install some useful Jupyterhub extension like https://github.com/jupyterlab/debugger but I am not sure how to do so.
Does anyone has experience on that? I browse through many websites but still cannot get a workround.
Same here ! I am also trying to add jupyterlab extension.
My first thought is to create a custom docker image for my users.
But each time I am trying to build this image
FROM jupyter/minimal-notebook:177037d09156
RUN conda install -c conda-forge mamba_gator
RUN jupyter labextension install @mamba-org/gator-lab
WORKDIR /home/jovyan
I am having this error:
ValueError: No version of @mamba-org/gator-lab could be found that is compatible with the current version of JupyterLab. However, it seems to support a new version of JupyterLab. Consider upgrading JupyterLab.
And I tried with diverse extensions so I don’t think it is a problem with gator-lab.
You’re doing the correct thing in building your own Docker image. jupyter/minimal-notebook:177037d09156 is a very old image though 5 August 2018. Can you use a more up-to-date base image?
I am still confused by one point. I have my extensions installed and enabled. I can see it from the extension manager. However, I don’t see anything in the launcher ? (nothing about the debugger or the gator).
Do you have an idea what is happening here ?
Thanks
Okay this time I got it all working correctly. @lindaorny1 to make it work you need to build your own docker image as the one upper (minus the wrong tag to old) + add this in your config file :
singleuser:
profileList:
- display_name: "your environment"
description: "This server contain all my extensions"
# Configuration unique to this profile
kubespawner_override:
image: your_custom_image
cmd: ["/bin/bash", "-c", "conda install -c conda-forge nb_conda_kernels && jupyterhub-singleuser --SingleUserNotebookApp.default_url=/lab"]
default: true
And where I was surprised; the conda install nb_conda_kernels is very important ! Without you don’t have your extensions added in the launcher.
Hope you will be able to make it works in your side too.