Migrating the OpenShift integrated image registry from PersistentVolume to S3 object storage provided by OpenShift Data Foundation

Solution Verified - Updated -

Issue

In an OpenShift 4.x deployment the integrated image registry is currently configured to store its image layers in a filesystem based on a mount from a PersistentVolume. There are already images stored in the integrated image registry and the content should be migrated to an S3 object storage bucket provided by Red Hat OpenShift Data Foundation.

Environment

  • Openshift 4.9 or newer with sufficient administrative privileges
  • OpenShift Data Foundation 4.9 or newer installed and configured
  • OpenShift integrated image registry configured to use a PersistentVolumeClaim as the backing store
  • temporary access to an external registry to host a debug image containing the s3cmd utility

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content