-
Notifications
You must be signed in to change notification settings - Fork 1.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
Inconsistent route choice between gateway and sidecar under HTTPRoutes with same parent #12288
Comments
Which Route has the oldest creation date? (This is a Gateway API route-merging question, and the creation date matters for that.) |
I think |
Did you mean The thing to realize here is that Contour and Linkerd are independently processing all the HTTPRoutes they find, and their implementations share absolutely nothing beyond the Gateway API spec. They're both supposed to treat HTTPRoutes exactly the same way, but there's potential for issues in either. In this case, you have two single- One other question: what version of Gateway API do you have installed? |
What is the issue?
Here is the configuration, traffic from sidecar chooses
hr-0
and goes to the ratings service, while traffic from gateway chooseshr-1
and goes to the productpage service, implying inconsistency between the route choice of sidecar and gateway.How can it be reproduced?
Create services
ratings
,productpage
andback
in the proper ports, and then create gateway as below.curl -H"host:www.bookinfo.com" http://back.default.svc.cluster.local:80
from one of the pods will go to ratings service, andcurl -H"host:www.bookinfo.com" http://<gateway service external ip>:9080
from gateway will go to productpage service.Logs, error output, etc
Behavior is described above, and details can be provided if need.
output of
linkerd check -o short
Environment
Possible solution
No response
Additional context
No response
Would you like to work on fixing this bug?
None
The text was updated successfully, but these errors were encountered: