kubernetes-ingress-controller
kubernetes-ingress-controller copied to clipboard
Rewrite annotation not working on every request when multiple Ingresses share same backing service
Is there an existing issue for this?
- [X] I have searched the existing issues
Current Behavior
I have two Ingresses sharing the same backing service. One has a konghq.com/rewrite
annotation. About half of the requests going to the Ingress with the annotation don't get the rewrite rule applied.
Expected Behavior
Every request is re-written properly.
Steps To Reproduce
1. Create two Ingresses that have the same backing service
2. Add a rewrite annotation to one of them
3. Post some requests. They will get re-written or not randomly
4. If you change the backing service to another on one of the Ingresses, it will work properly again
This has been outlined with examples in https://github.com/Kong/kubernetes-ingress-controller/issues/5021. I think this bug might be a reintroduction of that one, as they're practically the same
Kong Ingress Controller version
3.3
Kubernetes version
v1.28.13-eks-a737599
Anything else?
No response