Configure OpenShift Router for routing the traffic to multiple backends randomizing

Solution Verified - Updated -

Issue

  • With long running sessions and a router which reloads regularly the first endpoint in the config may receive significantly more load than other backends.
  • How to change the Router HAProxy setting for randomizing the order of the backends on every reload and thus help spread the load.

Environment

  • Openshift Container Platform (OCP)
    • 3.11

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