-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.21.0 breaks stickiness for default host #3959
Comments
|
hello @alexkursell , we tested with here's an updated version of the ingress resource we're using: Doesn't work
Works
|
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
It's still relevant |
@unicast do you meant the issue still exist with latest ingress-nginx version 0.25.1? |
@ElvinEfendi I didn't get a chance to test it against the latest version 0.25.1 but it was there in 0.23.0 and I don't see any changes related to the stickiness between the two. |
@ElvinEfendi I ran the test against 0.25.1, issue is still there. |
There is a similar issue in #3989, where we found session affinity cookie only set on domains that exist in spec.rules.[*].host |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
I believe it's still relevant |
@davidfowl the author of #4817 didn't sign the CLA and never answered. |
@aledbf was the PR good besides not signing the CLA? I burnt like an hour looking up a bunch of yaml files from various examples and blog posts and none of them worked. That lead me to the issue tracker here to figure out if there were any bugs. I'm surprised this hasn't been fixed as yet. |
The PR looks fine but it needs lua and e2e tests (to verify the fix and avoid regressions) |
sorry,I have an error connecting to the cla url.I'll try again later。 |
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.): I was searching for stickiness and cookies and it seems these two PRs are relevant to this bug: #3534 #3383
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
It's a BUG REPORT
NGINX Ingress controller version:
0.21.0
Kubernetes version (use
kubectl version
):v1.12.5
Environment:
GCP
CoreOS
uname -a
):What happened:
We are running the same set of microservices across ~100 different domains and always using default host (
spec.rules.host
undefined).After we upgraded to 0.21.0 we don't see a cookie being issued for the following configuration:
What you expected to happen:
I would expect to have a cookie issued in this case because
host
is an optional directive https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-rulesAnything else we need to know:
It's working with 0.20.0 and probably was introduced by this change: #3383
The text was updated successfully, but these errors were encountered: