Running a prune removed a layer part of a valid image when pruning a prunable image

Solution Verified - Updated -

Issue

  • Running a prune removed a layer part of a valid image when pruning a prunable image.
  • We have a prune job which is using --keep-tag-revisions tag of the oc adm prune images command and we suspect this prune job is pruning layers referenced by other images. This is causing required/used blobs to mysteriously disappear from registry and causing deployment failures.

Environment

  • OpenShift Container Platform

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.