Replies: 2 comments 10 replies
-
@malcolmvs |
Beta Was this translation helpful? Give feedback.
-
Full stateful sessions need to be handled with a design all the way through the stack. After a client is reliably hitting the same ingress controller pod, then the directives should be consistently taking over. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, we are looking at trying to implement session affinity using client ip over multiple tcp ports. Something similar to what is done here: https://stackoverflow.com/questions/61197263/kubernetes-nginx-ingress-session-affinity-across-ports
nginx.ingress.kubernetes.io/upstream-hash-by
Is there a way to do this using this ingress controller? We currently use 3 TCP ports that need to be connected to the same pod for a given client ip. When we used the remote_addr hash in upstream groups we unfortunately ended up with different hashes as each upstream group uses a different tcp port.
Anyone have ideas or input on this please?
ClientIP session affinity is enabled on the load balancer - I'm not sure if this is correct.
Beta Was this translation helpful? Give feedback.
All reactions