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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.