image-registry operator reports that it is degraded due to `StorageNotConfigured`
Environment
Red Hat OpenShift Container Platform v4.x
Issue
The image-registry operator reports that it is degraded due to StorageNotConfigured.
Resolution
Configure image-registry storage in a manner consistent with the platform on which the cluster is installed. Details are typically found in the installation documentation for the platform. For example, for vSphere.
Persistent volumes to be used for image-registry storage must meet the following requirements:
- Access Mode:
ReadWriteMany - Capacity:
100Gi
The image-registry operator will create a PVC which will attempt to bind to a PVC matching the criteria listed above.
Root Cause
The image-registry operator checks for a valid storage configuration. If one is not available, the operator reports that it is in a degraded state.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.