diff --git a/testing/deployments/hub.yaml b/testing/deployments/hub.yaml index e342db0e7f3801d28328f2fb7440d014150376c0..4ade083caad63d74c762c751c357e7552ceddfc7 100644 --- a/testing/deployments/hub.yaml +++ b/testing/deployments/hub.yaml @@ -20,11 +20,7 @@ singleuser: # keep resource limits in sync with: # - profileList storage: - capacity: 20Gi - dynamic: - pvcNameTemplate: claim-{userid}{servername} - volumeNameTemplate: vol-{userid}{servername} - storageAccessModes: ["ReadWriteMany"] + type: none extraVolumes: - name: cvmfs-host hostPath: @@ -51,14 +47,11 @@ singleuser: - name: cvmfs-host mountPath: "/cvmfs:shared" - name: b2drop - mountPath: '/mnt/b2drop:shared' + mountPath: '/home/jovyan/b2drop:shared' - name: owncloud - mountPath: '/mnt/owncloud:shared' + mountPath: '/home/jovyan:shared' # - name: scratch # mountPath: '/scratch' - lifecycleHooks: - postStart: - exec: { "command": ["/bin/sh", "-c", "ln -snf /mnt/b2drop $HOME/b2drop; ln -snf /mnt/owncloud $HOME/owncloud; for d in cvmfs; do if ! test -e $HOME/$d; then ln -snf /$d $HOME/$d; fi; done; mkdir -p /home/jovyan/.notebookCheckpoints"] } memory: limit: 4G guarantee: 512M @@ -117,7 +110,7 @@ singleuser: # 3) launch notebook server # i=0 - while ! grep '^webdav-fs: /mnt/owncloud ' /proc/mounts && test $i -lt 30; do + while ! grep '^webdav-fs: /home/jovyan ' /proc/mounts && test $i -lt 30; do echo 'Waiting for ownClound mount...' sleep 0.5 i=$((i+1))