Load balancing with cookie sticky sessions

#1

Hello,

I’m using the latest version of kubernetes on a BareMetal with 1 master and 2 nodes.

I have a StatefulSet that starts multiple pods, from the outside I needs to be able to connect to the pods but once I connect to that pod I need to always be routed to that pod, as long as the pod is available.

I can create manually a service for each pod, to have access access directly the pod, but I don’t find a way to have an ingress with multiple services for the same path, or a load balancer.

I tried multiple solutions but none of them seem to do what I need.

Any recommendations on what I can use?

Thank you

0 Likes