Using a highly available container registry with OpenShift
Issue
- When using multiple registries many of the deployments fails. How to resolve it.
- Can we use multiple registries in single environment of OpenShift?
- Why do multiple registries not work?
- We installed two instances of OpenShift Container Registry in each of two datacenters. The registries are using swift backend storage and the storage is replicated between datacenters. When pushing an image to one instance of OCR, it works as expected. However, the second instance does not see the image until we "push" to it as well, at which point, it gives a long list of "Layer already present" errors. Is there a way to get the expected redundancy?
Environment
- OpenShift Container Platform 3.5, 3.6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
