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

Clear the registry cache after pruning

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • Pruner, Registry

    Description

      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?

      Attachments

        Activity

          People

            rmarasch@redhat.com Ricardo Maraschini (Inactive)
            DanielMesser Daniel Messer
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: