Skip to content

Commit

Permalink
Switch to generic ephemeral volume for worker tmp storage
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon committed Aug 30, 2024
1 parent 7b37fc9 commit 99d9edd
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions k8s/base/deploy-worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,16 @@ spec:
fsGroup: 1000
volumes:
- name: tmp
emptyDir:
medium: Memory
sizeLimit: 1Gi
ephemeral:
volumeClaimTemplate:
metadata:
labels:
type: datalab-worker-tmp-volume
spec:
accessModes: [ "ReadWriteOnce" ]
resources:
requests:
storage: 1Gi
containers:
- name: default
image: datalab
Expand Down

0 comments on commit 99d9edd

Please sign in to comment.