HTTPRoute defines application-level HTTP routing in the Gateway API. Application developers attach it to a Gateway, then specify hostnames, path matches, and backend Services; infrastructure teams separately manage GatewayClass and Gateway resources. section 6.7
Route a hostname to a Service
apiVersion: gateway.networking.k8s.io/v1 kind: HTTPRoute metadata: name: example-httproute spec: parentRefs: - name: example-gateway hostnames: - "www.example.com" rules: - matches: - path: type: PathPrefix value: / backendRefs: - name: nginx port: 8080 Apply the manifest with kubectl, then verify the resource with kubectl get httproute.

