Uploaded image for project: 'OpenShift Request For Enhancement'
  1. OpenShift Request For Enhancement
  2. RFE-4995

Image Registry deployment with more than two replicas should be spread across available nodes

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • openshift-4.12
    • Registry
    • None
    • False
    • None
    • False
    • Not Selected
    • 0
    • 0% 0%

      Currently the image registry when using two replicas requires (requiredDuringSchedulingIgnoredDuringExecution) the pods to be scheduled in different nodes. If the number of replicas is higher than 2 then preferredDuringSchedulingIgnoredDuringExecution will cause them to run in different nodes but do not enforce it. This means on a multiple nodes(i.e. 3 infra) cluster, when set replicas to 3, the 3 image registry pods schedule the same nodes sometimes. 

      This is very common for larger clusters to increase image registry replicas and currently requires the customer to set requiredDuringSchedulingIgnoredDuringExecution on the operator while this behaviour is not documented in terms of the difference from 2 replicas versus 3 replicas.

       

      Can we enforce affinity for 3 replicas across 3 nodes as well?

            DanielMesser Daniel Messer
            rhn-support-afaulhab Anne Faulhaber
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: