-
Notifications
You must be signed in to change notification settings - Fork 8.1k
gateway: skip duplicate VirtualService matches #30354
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
Conversation
Hi @kailun-qin. Thanks for your PR. I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
a0f0a5a
to
06c8b0b
Compare
/ok-to-test |
"call", | ||
simulation.Call{Port: 443, Protocol: simulation.HTTP, TLS: simulation.TLS, HostHeader: "mysite.example.com"}, | ||
simulation.Result{Error: simulation.ErrMultipleFilterChain}, | ||
simulation.Result{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you remove L446 to skipValidation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Removed.
We should make sure we get resolution on #30321 (comment) before merging cc @esnible - if we merge this the analyzer is still useful, as it would detect that we are dropping a VS rather than NACKing |
06c8b0b
to
9516d58
Compare
This LGTM, I want to give @stevenctl a chance to look though since he was looking into this possibly |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Duplicate HTTPS virtual services bound to a gateway will lead to envoy rejections - "multiple filter chains with the same matching rules are defined". This patch changes the current behavior of no duplication checking on such case that will eventually fail with a NACK and instead picks only the first one of the duplicated match rules. Fixes istio#30321 Signed-off-by: Kailun Qin <kailun.qin@intel.com>
@howardjohn Can we move forward this one? Thanks! |
/retest |
Duplicate HTTPS virtual services bound to a gateway will lead to envoy rejections - "multiple filter chains with the same matching rules are defined". This patch changes the current behavior of no duplication checking on such case that will eventually fail with a NACK and instead picks only the first one of the duplicated match rules. Fixes istio#30321 Signed-off-by: Kailun Qin <kailun.qin@intel.com>
Duplicate HTTPS virtual services bound to a gateway will lead to envoy
rejections - "multiple filter chains with the same matching rules are defined".
This patch changes the current behavior of no duplication checking on such case
that will eventually fail with a NACK and instead picks only the first one of
the duplicated match rules.
Fixes #30321
Signed-off-by: Kailun Qin kailun.qin@intel.com
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[x] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[ ] Does not have any changes that may affect Istio users.