Uploaded image for project: 'OpenShift Image Registry'
  1. OpenShift Image Registry
  2. IR-128

Clear the registry cache after pruning

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • None
    • Pruner, Registry

      As a cluster administrator I expect the automatic image pruning to clear the image registry cache to avoid cached metadata of pruned images.

      Background: Per the documentation, the image registry must be redeployed after pruning to clear its caches, otherwise some image pushes may not correctly upload all layers.

      Notes

      When the registry has more than 1 replica, to avoid downtime, replicas should be restarted one by one.

      Open Questions

      • Should it be a part of `oc` tool or part of CronJob?
      • How the registry should be restated? Via the operator?

              Unassigned Unassigned
              DanielMesser Daniel Messer
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: