enterprise_gateway
enterprise_gateway copied to clipboard
Questions about how to mount user pvc to kernel pods.
Hi!
I use enterpise_gateway and JupyterHub in k8s and I use JupyterHub as an auth and frontend service. I wish to mount users' PVC which was created by JupyterHub to enterprise gateway kernel pods. Which files(like k8s manifest, kernelspecs, or kernel-launchers) should I change to achieve what I want? Best regards!
Environment
- Enterprise Gateway Version: 3.0.0.dev0
- Platform: Kubernetes
- JupyterHub Chart version 1.1.3
You probably want to make edits to the kernel-pod template file located in each of the kernelspec scripts directories. You can "convey" user-specific details (directory name, etc.) via KERNEL_-prefixed environment variables, then reference those variables via {kernel_xxx} values in the template. You might checkout this portion of the docs as well: https://jupyter-enterprise-gateway.readthedocs.io/en/latest/kernel-kubernetes.html#unconditional-volume-mounts