Skip to content
Snippets Groups Projects
Commit cfbc1986 authored by František Dvořák's avatar František Dvořák
Browse files

Disable scratch (slow ephemeral volumes)

parent 5185275a
No related branches found
No related tags found
No related merge requests found
...@@ -35,15 +35,15 @@ singleuser: ...@@ -35,15 +35,15 @@ singleuser:
# sizeLimit problematic in this environment, # sizeLimit problematic in this environment,
# not needed for remote mounts # not needed for remote mounts
empty_dir: empty_dir:
- name: scratch # - name: scratch
ephemeral: # ephemeral:
volumeClaimTemplate: # volumeClaimTemplate:
spec: # spec:
accessModes: [ "ReadWriteOnce" ] # accessModes: [ "ReadWriteOnce" ]
storageClassName: local-path # storageClassName: local-path
resources: # resources:
requests: # requests:
storage: "10Gi" # storage: "10Gi"
extraVolumeMounts: extraVolumeMounts:
- name: cvmfs-host - name: cvmfs-host
mountPath: "/cvmfs:shared" mountPath: "/cvmfs:shared"
...@@ -51,8 +51,8 @@ singleuser: ...@@ -51,8 +51,8 @@ singleuser:
mountPath: '/home/jovyan/b2drop:shared' mountPath: '/home/jovyan/b2drop:shared'
- name: owncloud - name: owncloud
mountPath: '/home/jovyan:shared' mountPath: '/home/jovyan:shared'
- name: scratch # - name: scratch
mountPath: '/scratch' # mountPath: '/scratch'
memory: memory:
limit: 6G limit: 6G
guarantee: 128M guarantee: 128M
......
...@@ -39,15 +39,15 @@ singleuser: ...@@ -39,15 +39,15 @@ singleuser:
# sizeLimit problematic in this environment, # sizeLimit problematic in this environment,
# not needed for remote mounts # not needed for remote mounts
empty_dir: empty_dir:
- name: scratch # - name: scratch
ephemeral: # ephemeral:
volumeClaimTemplate: # volumeClaimTemplate:
spec: # spec:
accessModes: [ "ReadWriteOnce" ] # accessModes: [ "ReadWriteOnce" ]
storageClassName: local-path # storageClassName: local-path
resources: # resources:
requests: # requests:
storage: "10Gi" # storage: "10Gi"
extraVolumeMounts: extraVolumeMounts:
- name: cvmfs-host - name: cvmfs-host
mountPath: "/cvmfs:shared" mountPath: "/cvmfs:shared"
...@@ -55,11 +55,11 @@ singleuser: ...@@ -55,11 +55,11 @@ singleuser:
mountPath: '/mnt/b2drop:shared' mountPath: '/mnt/b2drop:shared'
- name: owncloud - name: owncloud
mountPath: '/mnt/owncloud:shared' mountPath: '/mnt/owncloud:shared'
- name: scratch # - name: scratch
mountPath: '/scratch' # mountPath: '/scratch'
lifecycleHooks: lifecycleHooks:
postStart: postStart:
exec: { "command": ["/bin/sh", "-c", "ln -snf /mnt/b2drop $HOME/b2drop; ln -snf /mnt/owncloud $HOME/owncloud; for d in cvmfs scratch; do if ! test -e $HOME/$d; then ln -snf /$d $HOME/$d; fi; done; mkdir -p /home/jovyan/.notebookCheckpoints"] } 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: memory:
limit: 4G limit: 4G
guarantee: 512M guarantee: 512M
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment