How to set the sticky sessions with kong ingress controller

We have created a service that will need to make sure that the request from same client will always redirect to the same service pod for the active sessions. We want to use kong ingress controller to setup the sticky sessions, eg when the session start then it will always go to the same service pod, then how can we achieve it? Thanks.


You can use consistent-hashing to achieve that.

For KIC, you need to create KongIngress resource first and then associate that resource to the service.

You can find more information here

1 Like

Thank you very much.