Skip to content

Commit 2e9c8cc

Browse files
committed
Merge branch 'main' of https://github.com/boettiger-lab/k8s
2 parents fbe420c + 3927689 commit 2e9c8cc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

jupyterhub/thelio-config.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,18 @@ singleuser:
2020
storage:
2121
capacity: 60Gi
2222
extraVolumeMounts:
23-
- name: "volume-{username}{servername}"
23+
- name: "volume-{escaped_user_server}"
2424
mountPath: /home/rstudio
2525
# - name: shm-volume
2626
# mountPath: /dev/shm
2727
# extraVolumes:
2828
# - name: shm-volume
2929
# emptyDir:
3030
# medium: Memory
31+
lifecycleHooks:
32+
postStart:
33+
exec:
34+
command: ["/bin/bash", "-c", "if [ -f '/opt/share/start.sh' ]; then /bin/bash '/opt/share/start.sh'; fi"]
3135
extraFiles:
3236
jupyter_server_config.json:
3337
mountPath: /usr/local/etc/jupyter/jupyter_server_config.json

0 commit comments

Comments
 (0)