Rancher loadbalancer stickiness across multiple container application


#1

Hi,

I have a JSP application which is deployed in docker containers with Rancher load balancer.
But application sessions are created in tomcat servers of individual containers.

There is an issue when multiple instances of same application is deployed. There is no way to share these sessions across containers.
Stickiness in load balancer is set to Create new cookie in insert mode.
Please find attached image for stickiness configuration.

But requests are being sent to different containers each time.

Is there a way to configure Rancher loadbalancer to ensure request from one user will be sent to the same container till session is active.

Regards
skp