Transformations
Mutate and transform requests and responses before forwarding them to the destination.
Known limitations
Agentgateway: Agentgateway supports the routing rules and policies that are native to the Kubernetes Gateway API, such as basic matching, rewrites, retries, and timeouts. Note that agentgateway does not yet support kgateway TrafficPolicies. Any guide that relies on TrafficPolicies will not work with the agentgateway data plane. Instead, use the kgateway Envoy-based data plane.s
Gateway-level policy in 2.1.x or later: This feature is available in kgateway version 2.1.x or later. If you use version 2.1 or later, you can select the Gateway in the targetRefs
field of the TrafficPolicy. Remember that you can configure route-specific transformations by creating another TrafficPolicy with the targetRefs
field set to the specific HTTPRoute. The HTTPRoute-level policy takes precedence over the Gateway-level policy.