You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What keywords did you search in NGINX Ingress controller issues before filing this one? (If you have found any duplicates, you should instead reply there.):
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
BUG REPORT
NGINX Ingress controller version:0.9.0
Kubernetes version (use kubectl version):1.7
Environment:
Cloud provider or hardware configuration:Bare Metal with 3 node clusters
OS (e.g. from /etc/os-release):Ubuntu
Kernel (e.g. uname -a):
Install tools: Kubernetes setup using kubespray
Others:
What happened:
I deployed the ingress controller as described here.
We are using 2 tomcat instances as our backend pods for serving requests. I created an ingress specifying the service connecting the tomcat pods. Then I used the following annotations in the ingress for session affinity: annotations: nginx.ingress.kubernetes.io/affinity: cookie nginx.ingress.kubernetes.io/session-cookie-hash: md5 nginx.ingress.kubernetes.io/session-cookie-name: backendroute
But session affinity is not working when I connect through the ingress.
And I could not find the backendroute cookie in my response in client (chrome) What you expected to happen:
"backendroute" cookie must be available in the reponse and session-affinity should work
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know:
When I checked the ingress controller logs, the requests from the same client are being forwarded to both the tomcat pods in round robin fashion.
The text was updated successfully, but these errors were encountered:
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale
Is this a request for help? (If yes, you should use our troubleshooting guide and community support channels, see https://kubernetes.io/docs/tasks/debug-application-cluster/troubleshooting/.):
What keywords did you search in NGINX Ingress controller issues before filing this one? (If you have found any duplicates, you should instead reply there.):
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
BUG REPORT
NGINX Ingress controller version:0.9.0
Kubernetes version (use
kubectl version
):1.7Environment:
uname -a
):What happened:
I deployed the ingress controller as described here.
We are using 2 tomcat instances as our backend pods for serving requests. I created an ingress specifying the service connecting the tomcat pods. Then I used the following annotations in the ingress for session affinity:
annotations: nginx.ingress.kubernetes.io/affinity: cookie nginx.ingress.kubernetes.io/session-cookie-hash: md5 nginx.ingress.kubernetes.io/session-cookie-name: backendroute
But session affinity is not working when I connect through the ingress.
And I could not find the backendroute cookie in my response in client (chrome)
What you expected to happen:
"backendroute" cookie must be available in the reponse and session-affinity should work
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know:
When I checked the ingress controller logs, the requests from the same client are being forwarded to both the tomcat pods in round robin fashion.
The text was updated successfully, but these errors were encountered: