HTTPRoute
The Gateway API object an application team writes to route HTTP requests by host, path or header from a Gateway to its Services.
In more detail
It attaches to a Gateway through parentRefs, and attachment only works if the Gateway's listener allows it. Status conditions per parent show whether the route was Accepted and whether its backend references resolved.
Example
kubectl describe httproute webRelated terms
- Gateway API — A Kubernetes API for routing traffic into and within a cluster, able to split traffic between versions by weight.
- Kubernetes Service — The Kubernetes object that gives a changing set of pods one stable name and address, and spreads traffic across the ready ones.
- Gateway object — The Gateway API object that defines where traffic enters: its listeners, their ports and protocols, and which routes may attach.
- status condition — A named true-or-false fact that a controller records in an object's status, such as Ready, Available or Accepted, with a reason and a time.
Taught in
- Gateway API: A Route Asks, A Gateway Allows — Certified Kubernetes Administrator (CKA) Exam Prep
- Gateway API: GatewayClass, Gateway And HTTPRoute — Kubernetes: Production-Grade Container Orchestration