How to configure multiple replicas of image registry pod to run on different nodes with anti-affinity in OCP 4?

Solution Verified - Updated -

Issue

  • Is there a way to increase the replicas of a image-registry pod?
  • How can I ensure that no 2 replicas of pod schedule on single node?
  • How to check anti-affinity for image-registry pod in the openshift-image-registry namespace?

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4

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