oracle / oci-native-ingress-controller

OCI Native Ingress Controller
https://blogs.oracle.com/cloud-infrastructure/post/oracle-cloud-native-ingress-controller-kubernetes
Universal Permissive License v1.0
18 stars 20 forks source link

Persistence session on OCI Native Ingress #86

Open naguaramaster opened 1 month ago

naguaramaster commented 1 month ago

Good afternoon, I have an application running with a front-end and back-end service. I am using web-socket and find that sessions are not maintained, what I need is for a session to be maintained between same front and back until it ends. I currently have 3 replicas on 3 nodes. Is there a solution for this in OCI Native Ingress Controller? Nginx-Controller uses annotations to solve this: https://kubernetes.github.io/ingress-nginx/examples/affinity/cookie/

I leave documentation of the library used in the application: https://socket.io/docs/v4/using-multiple-nodes/

Please your help..

nirpai commented 1 month ago

Currently sticky session is not suppported.

naguaramaster commented 1 month ago

Thanks for the reply. We will look for another solution.

We would like to know if they are working on it for the future.

nirpai commented 1 month ago

Yes this feature is not prioratised yet.