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
Need Clarification: In GRPCRoute, does the type of method match count for priority? #2216
Comments
/cc @gnossen |
Seems like more information and discussion are needed here: /triage needs-information But given that this is about |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close not-planned |
@k8s-triage-robot: Closing this issue, marking it as "Not Planned". 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/test-infra repository. |
In the specification of precedence of GRPCRoute rules here https://gateway-api.sigs.k8s.io/references/spec/#gateway.networking.k8s.io/v1alpha2.GRPCRouteRule:
The
Type
of method match is not mentioned here. I want to get a explanation about the priority ofType
field in method match:Exact
method match take precedence over method match with other types?For example, if two rules like this
and
Which service will A GRPC request to
/v1/foo
go? According to the specification where there is no place for priority ofType
of the match, the latter one will be matched and the request will go to service2. This seems weird when the non-exact match took the precedence over the exact match. So I need clarification here on the priority oftype
field in method match here. What is the intention on the priority of the fields in method match here?The text was updated successfully, but these errors were encountered: