I had some trouble a while ago implementing a canary deployment using internal scaling. When I started calling the route, I noticed that all requests were being served from the same pod. Obviously this was caused by sticky sessions.

It's quite simple in Openshift Routes using annotations.

You can switch off the sticky sessions by running oc annotate routes myroute haproxy.router.openshift.io/disable_cookies='true' oc annotate routes myroute haproxy.router.openshift.io/balance='roundrobin'
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners