Skip to content
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

question: Httproute has the same hostname, which one will take effect? #4912

Open
beckliln opened this issue Dec 13, 2024 · 1 comment
Open
Labels
Milestone

Comments

@beckliln
Copy link

Description:

Describe the issue.
When creating two HTTPRoutes with the following characteristics:
Same domain name
Same matching rules
Different backend services
Created in a specific order
which one will take effect?

env:
eg 1.2.0
My test results : The second HTTPRoute will override the first one

so i think In k8s multi-tenant environment, this will cause problems.

[optional Relevant Links:]

Any extra documentation required to understand the issue.

@arkodg
Copy link
Contributor

arkodg commented Dec 13, 2024

if the matching rules are same, then the first one should take precedence since its older, if thats not happening, this needs to be resolved

@arkodg arkodg added this to the v1.3.0-rc.1 milestone Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants