Session affinity in openshift 3

Solution Verified - Updated -

Issue

  • How sticky session handled in Openshift 3.
  • Do we need to create IP sticky or any layer 7 sticky between F5 LB and HAPROXY Router node?
  • Default router (haproxy.conf) shows that router and pods go by least connection and Cookie insert ( so it's actually cookie based session sticky isn't it?)
  • I see connections between HAPROXY router and pods they go via least connection rule, how can I make them session sticky?
  • How do I edit route or haproxy.conf file to update app route to have session sticky?

Environment

  • Red Hat OpenShift Enterprise
    • 3.2
  • Red Hat OpenShift Container Platform
    • 3.3+

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