Skip to content

Add explicit priority ordering across HTTPRoutes #5141

Description

@kxu-stripe

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:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions