-
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
Corner Case: upstream name duplication causing ingress pointing to wrong service #11937
Comments
This issue is currently awaiting triage. If Ingress contributors determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/remove-kind bug
/kind support |
@longwuyuan Okay, will change. |
link to: #11938 |
/close Duplicate of #11938 |
@longwuyuan: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Version:
v1.10.1
(but this bug exists in the latest main branch)Let's say we have 2 ingress-paths:
service.name: example, service.port.name: service-rpc
service.name: example-service, serivce.port.name: rpc
In the ingress controller, they will be converted to upstream name by
func upstreamName
ingress-nginx/internal/ingress/controller/util.go
Lines 49 to 60 in a647bc1
The output for path 1 and 2 with be the same
example-service-rpc
Which makes one of the path points to wrong backend.
The text was updated successfully, but these errors were encountered: