Gateway object
The Gateway API object that defines where traffic enters: its listeners, their ports and protocols, and which routes may attach.
In more detail
The platform team usually owns it, and allowedRoutes controls which namespaces' routes can attach. Its status shows the addresses it received and whether each listener is programmed. Routes such as HTTPRoute point at it with parentRefs.
Example
kubectl get gateway publicRelated terms
- Gateway API — A Kubernetes API for routing traffic into and within a cluster, able to split traffic between versions by weight.
- GatewayClass — The cluster-wide Gateway API object that names which implementation, and which controller, will run Gateways of that class.
- HTTPRoute — The Gateway API object an application team writes to route HTTP requests by host, path or header from a Gateway to its Services.
- listener — One entry point on a Gateway, defined by a name, port, protocol and optional host name, that routes can attach to.
Taught in
- Gateway API: GatewayClass, Gateway And HTTPRoute — Kubernetes: Production-Grade Container Orchestration