Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support building large images in DinD container #3369

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jrbe228
Copy link

@jrbe228 jrbe228 commented Mar 19, 2024

Store docker image layers in ephemeral PVC to avoid pod eviction due to exceeding storage limits.

This change allowed our organization to build larger docker images (>50GB).

@alec-drw
Copy link

FWIW our org does this today for both the docker volume and workspace

      volumes:
      - name: tool-cache
        persistentVolumeClaim:
          claimName: tool-cache-enterprise-runnerset-0
      - name: work
        ephemeral:
          volumeClaimTemplate:
            spec:
              accessModes: [ "ReadWriteOnce" ]
              storageClassName: "csi-ceph-rbd-xfs-flash"
              resources:
                requests:
                  storage: 100Gi
      - name: var-lib-docker
        ephemeral:
          volumeClaimTemplate:
            spec:
              accessModes: [ "ReadWriteOnce" ]
              storageClassName: "csi-ceph-rbd-xfs-flash"
              resources:
                requests:
                  storage: 150Gi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants