Skip to content

Gateway API: support multiple RequestMirror filters per rule in HTTPRoute [extended] #4566

@sejongk

Description

@sejongk

Currently, Contour only supports a single RequestMirror filter per rule in HTTPRoute (#4557).
As mentioned in #4557 (comment), we can improve this by supporting multiple RequestMirror filters per rule in HTTPRoute as follows:
If there is more than one RequestMirror filter, then each filter defines a backend to mirror traffic to.
Finally, Contour gets the whole backends, converts these to a slice of MirrorPolicies, and set the slice to dag.Route.MirrorPolicy
ref. https://gateway-api.sigs.k8s.io/v1alpha2/references/spec/#gateway.networking.k8s.io/v1alpha2.HTTPRouteFilter
(Support: Extended)

Metadata

Metadata

Assignees

Labels

area/gateway-apiIssues or PRs related to the Gateway (Gateway API working group) API.help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.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