gateway-api
gateway-api copied to clipboard
Docs: RequestMirror filter needs to be documented
What would you like to be added: A new guide showing how to mirror HTTP requests with HTTPRoute. This guide should be similar to https://gateway-api.sigs.k8s.io/guides/http-header-modifier/ or https://gateway-api.sigs.k8s.io/guides/traffic-splitting/.
For an example of how to configure our RequestMirror filter, you can refer to the relevant conformance test:
https://github.com/kubernetes-sigs/gateway-api/blob/195d9882f816c9002eede96b2eda171ac454a6c1/conformance/tests/httproute-request-mirror.yaml#L42-L47
Why this is needed: We are currently lacking documentation for request mirroring.