<p>Trying to understand how sticky session should be configured when working with service type=loadbalancer in AWS
My backend are 2 pods running tomcat app
I see that the service create the AWS LB as well and I set the right cookie value in the AWS LB configuration ,but when accessing the system I see that I keep switching between my pods/tomcat instances</p>

<p>My service configuration </p>

<pre><code>kind: Service
apiVersion: v1
metadata:
 annotations:
   service.beta.kubernetes.io/aws-load-balancer-backend-protocol: http
 labels:
   app: app1
 name: AWSELB
 namespace: local
spec:
 type: LoadBalancer
 ports:
 - port: 8080
   targetPort: 8080
 selector:
   app: app1
</code></pre>

<p>Is there any additional settings that are missing?
Thank you
Jack</p>

<p>It's not supported. Please see <a href="https://github.com/kubernetes/kubernetes/issues/2867" rel="nofollow noreferrer">https://github.com/kubernetes/kubernetes/issues/2867</a> which has the gory details.</p>
