actions-runner-controller icon indicating copy to clipboard operation
actions-runner-controller copied to clipboard

Support building large images in DinD container

Open jrbe228 opened this issue 11 months ago • 1 comments

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).

jrbe228 avatar Mar 19 '24 18:03 jrbe228

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

alec-drw avatar Mar 20 '24 14:03 alec-drw