What would you like to be added:
An opt-in way to explicitly control match order across HTTPRoutes attached to the same listener. Existing specificity-based ordering should remain unchanged when unused.
Why this is needed:
Priority-based load balancers such as AWS ALB use first-match-wins. During migration from such routing stacks, a less-specific route may intentionally need to match first in order to preserve parity.
Gateway API instead orders matches by specificity, followed by creation timestamp and resource name. Users cannot directly control this order without changing match conditions in a convoluted way.
This makes it difficult to migrate existing routing configurations or manage overlapping rules split across multiple HTTPRoutes.
Context:
What would you like to be added:
An opt-in way to explicitly control match order across HTTPRoutes attached to the same listener. Existing specificity-based ordering should remain unchanged when unused.
Why this is needed:
Priority-based load balancers such as AWS ALB use first-match-wins. During migration from such routing stacks, a less-specific route may intentionally need to match first in order to preserve parity.
Gateway API instead orders matches by specificity, followed by creation timestamp and resource name. Users cannot directly control this order without changing match conditions in a convoluted way.
This makes it difficult to migrate existing routing configurations or manage overlapping rules split across multiple HTTPRoutes.
Context: