HTTPRoute
An HTTPRoute is a Kubernetes Gateway API resource defining how HTTP requests are matched and forwarded to backend services through parent gateways.
Kubernetes in Action, Second Edition
An HTTPRoute is a Kubernetes Gateway API resource that defines how HTTP requests are matched and forwarded to backend services through parent gateways.
- How it is used
- Connects HTTP traffic arriving at a Gateway to backend Services using route rules.
- How deep it goes
- Works through a manifest, request matches, weights, filters, status checks, and cross-namespace permissions; does not detail controller internals.
- Examples
- Tests a hostname-based route with kubectl and curl, then demonstrates weighted canary backends and POST-based routing.
- What you can do after
- Build it from scratch with a Gateway API manifest, then test routing and diagnose attachment or reference failures with kubectl.
Read how Kubernetes in Action, Second Edition explains HTTPRoute →
Acing the Certified Kubernetes Administrator Exam, Second Edition
An HTTPRoute is a Gateway API resource that defines HTTP host, path, and backend routing rules for application traffic.
- How it is used
- Defines application-level HTTP routing while separating route ownership from Gateway and GatewayClass infrastructure management.
- How deep it goes
- Demonstrates hostname, path-prefix, parent-Gateway, backend-Service, and port configuration, then verifies creation with kubectl.
- Examples
- Uses www.example.com with a root PathPrefix to route traffic to the nginx Service on port 8080.
- What you can do after
- Build it from scratch with a v1 manifest, attach it to a Gateway, route a hostname, and verify the resulting resource.
Read how Acing the Certified Kubernetes Administrator Exam, Second Edition explains HTTPRoute →
Related concepts
- gateway apipart of · The Kubernetes Gateway API is a networking standard for defining gateways, listeners, and traffic routing between external clients and cluster services.
- backenduses · A backend is a software component or system that provides underlying processing, data, execution, or service functionality to other components.
- backendrefs fielduses · The backendRefs field identifies the services or other backend resources to which matched traffic is forwarded.
- custom resourcekind of · A Kubernetes custom resource is an API object of a user-defined resource type that extends the Kubernetes API, typically defined by a custom resource definition.
- servlet filteruses · A servlet filter is a Java web component that intercepts requests and responses in a servlet-based application to process, modify, or reject them.
- gateway objectuses · A Kubernetes Gateway API Gateway is a resource that defines a network entry point, its listeners, and the protocols and ports for accepting traffic.
Questions about HTTPRoute
What is HTTPRoute?
An HTTPRoute is a Kubernetes Gateway API resource defining how HTTP requests are matched and forwarded to backend services through parent gateways.
Which Manning books explain HTTPRoute?
Kubernetes in Action, Second Edition and Acing the Certified Kubernetes Administrator Exam, Second Edition.
What is HTTPRoute a kind of?
HTTPRoute is a kind of custom resource. A Kubernetes custom resource is an API object of a user-defined resource type that extends the Kubernetes API, typically defined by a custom resource definition.
What is HTTPRoute part of?
HTTPRoute is part of gateway api. The Kubernetes Gateway API is a networking standard for defining gateways, listeners, and traffic routing between external clients and cluster services.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

