Uploaded image for project: 'National Data Service'
  1. National Data Service
  2. NDS-607

Test Docker image cache

XMLWordPrintableJSON

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Normal Normal
    • Labs Workbench - Beta
    • Labs Workbench - Beta
    • None
    • None
    • NDS Sprint 14

      The Docker image cache replication controller spec (docker-cache-rc.yaml) is using emptyDir

            volumes:
              - name: image-store
                emptyDir: {}
                  #path: /var/glfs/global/docker-cache
              - name: config
                configMap:
                  name: docker-cache-config

      This means that we are not actually getting the benefit of the cache and the cache has not been tested with Gluster. This should probably be a hostpath instead of empty dir.

            volumes:
              - name: image-store
                hostPath: 
                  path: /var/glfs/global/docker-registry
              - name: config
                configMap:
                  name: docker-cache-config

              willis8 Craig Willis
              willis8 Craig Willis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 4 hours
                  4h
                  Remaining:
                  Time Spent - 2 hours Remaining Estimate - 2 hours
                  2h
                  Logged:
                  Time Spent - 2 hours Remaining Estimate - 2 hours
                  2h