Skip to main content

Variables

The following variables are available for use in a JupyterNotebookTemplate by default:

Parameter NameDescription
jupyterhub.user.idThe user id supplied by jupyter hub
jupyterhub.user.nameThe username supplied by jupyter hub
jupyternetes.instance.nameThe name of the JupyterNotebookInstance in kubernetes that this relates to
jupyternetes.instance.namespaceThe namespace of the JupyterNotebookInstance in kubernetes that this relates to
jupyterhub.api_tokenThe API Token supplied to the pod that this notebook will use
jupyterhub.namespaceNamespace of jupyterhub
jupyterhub.oauth_client_idThe client id of jupyter hub
jupyternetes.pvcs.your_workspace_nameGets the name of a Persistent Volume Claim (PVC) that workspaces needs to function. This will also tell jupyternetes to process the PVC first and to refer to it on the pod spec