API resource reference for HTTPRoute, one of the Gateway API resources. To create or change one, see Changing resources; to inspect, see Reading resources.
HTTPRoute is a stable (v1) resource that follows the Gateway API HTTPRoute specification for service traffic routing.Identity
Overview
AnHTTPRoute defines how incoming HTTP requests are routed to backends. It attaches to one or more Gateways (via parentRefs) and describes, through a list of rules, how to match requests — by hostname, path, header, method, or query parameter — and where to forward the ones that match. Each rule can also apply filters to modify requests along the way.
Use an HTTPRoute to expose an application through a Datum Cloud Gateway: for example, to send api.example.com/v1 traffic to one backend and everything else to another, or to split traffic across backends by weight.