Skip to content

WIP: Limit emptydir volume mount to only project export

John Jarvis requested to merge jarv/volume-mounts into master

What does this MR do?

With gitlab-org/charts/gitlab#2119 (closed) complete we can now set volume mounts per pod, which will allow us to limit the emptDir to only the queue groups that need it.

This change configures only memory-bound for the 50GB empty dir.

Do not merge

based on the diff something is not right here, as the emptyDir is removed:

         volumes:
-       
        - name: sidekiq-shared
-         emptyDir:
-           sizeLimit: 50G
+         mountPath: /srv/gitlab/shared
+         readOnly: false
+       
 

Update: confirmed that gitlab-org/charts/gitlab!1397 (merged) fixes this.

Edited by John Jarvis

Merge request reports

Loading