Mount volume per notebook on swarm cluster


I have deployed a jupytehub on a swarm cluster. The jupyterhub on the master node and the notebooks are spawned on a worker node. I am looking for a solution to mount (map) a volume per each spawned notebook on the worker node automatically with a unique name (for example their username). Is there any idea to do that or adding something to the


JupyterHub has no knowledge of what’s going on inside your singleuser server once it’s started. If you want a separate storage volume for each notebook inside JupyterLab you’d need to manage that yourself. For instance you could probably write a custom Contents Manager: