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

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners