<p>I am trying to migrate a real-time socket.io NodeJs application to Kubernetes cluster on GCP. I am facing an issue while maintaining the session stickiness (by CLIENT IP) with the normal load balancer. I found out that I need to use the nginx-ingress controller for this. There is no proper documentation or tutorial available. If anyone can anyone help me with this? Thanks.</p>

<p><strong>UPDATED</strong>
I am looking for <strong>CLIENT IP</strong> session stickiness.</p>

NitinD
<p>As mentioned in <a href="https://stackoverflow.com/questions/40743432/google-container-engine-kubernetes-websocket-socket-io-not-working-on-multi">here</a>, you can add a line to your service config file spec.sessionAffinity: ClientIP which should keep client IP stickiness</p>
