You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rules that has longest path but without host field are put into default backend map, which has lowest precedence, so it won't match if it overlap with other rules that has host field specified
Expected behavior
Traffic of example.com/foo should goes to foo-service
As guided in kubernetes ingress: precedence should be given first to the longest matching path
Steps to reproduce the problem
Create 2 ingresses as bellow:
To route all traffic with prefix /foo to foo-service
Description of the problem
Rules that has longest path but without
host
field are put into default backend map, which has lowest precedence, so it won't match if it overlap with other rules that hashost
field specifiedExpected behavior
Traffic of
example.com/foo
should goes tofoo-service
As guided in kubernetes ingress: precedence should be given first to the longest matching path
Steps to reproduce the problem
To route all traffic with prefix
/foo
tofoo-service
To route traffic of
example.com/
tobaz-service
http://example.com/foo
to see that request are unexpectedly route intobaz-service
Environment information
HAProxy Ingress version:
v0.14.6
The text was updated successfully, but these errors were encountered: