✦ For everyone, free.

Practical knowledge for real and everyday life

Home

Kubernetes Ingress and Gateway Routing Areas

Kubernetes Ingress and Gateway Routing Areas manage external access to cluster services, using rules to direct traffic efficiently through APIs and load balancers.

Kubernetes Ingress and Gateway Routing Areas refers to the distinct functional domains that make up the overall practice of routing external and internal traffic into a Kubernetes cluster, spanning entry point exposure, host and path based routing, traffic manipulation, protocol-specific routing, and the operational management of the controllers that implement all of it.


Entry Point Exposure

Establishing the External Boundary

This area covers how a cluster's routing layer becomes reachable from outside in the first place, whether through a cloud LoadBalancer Service fronting an Ingress or Gateway controller, a NodePort-based exposure in bare-metal environments, or a host-networked controller deployment. Decisions made in this area determine the entry point every other routing capability ultimately depends on.

Internal Versus External Gateways

A related concern within this area is distinguishing gateways meant to serve external internet traffic from those meant only to route traffic between internal services or namespaces, since both use the same underlying API constructs but require very different exposure and security postures.


Host and Path Based Routing

Virtual Hosting Within a Shared Entry Point

This area covers the core routing logic that allows a single external entry point to serve many distinct applications, directing requests to different backend Services based on the request's host header, URL path, or both, which is the foundational capability both Ingress and Gateway API's HTTPRoute are built around.

Gateway /api -> svc-a /app -> svc-b host2.* -> svc-c

Traffic Manipulation

Rewriting, Redirects, and Header Modification

This area covers routing rules that go beyond simple destination selection to actively modify requests or responses in transit, such as rewriting request paths before forwarding, issuing redirects, or adding and removing headers, capabilities that were historically only available through Ingress controller-specific annotations but are natively expressed in Gateway API's filter mechanisms.

Traffic Splitting for Progressive Delivery

This area also covers weighted traffic distribution across multiple backend Services, used to implement canary releases or blue-green deployments by gradually shifting a percentage of matched traffic from one backend version to another.


Protocol-Specific Routing

Beyond HTTP

This area covers routing for protocols other than HTTP and HTTPS, including raw TCP and UDP routing and TLS passthrough, where the routing decision must be made without terminating or inspecting encrypted or non-HTTP payloads, a capability formally scoped into Gateway API's route type family but largely absent from the original Ingress API.


TLS and Certificate Management

Termination and Certificate Sourcing

This area covers where and how TLS termination occurs along the routing path, and how the certificates used for termination are sourced, whether from manually managed Secret objects or automated certificate issuance integrations, along with the decision of whether encrypted traffic is re-encrypted for delivery to the backend or passed through in plaintext internally.


Controller Operations and Lifecycle

Deployment, Scaling, and Upgrade Management

This area covers the operational lifecycle of the Ingress or Gateway controller itself, its deployment topology, scaling behavior under load, and upgrade sequencing, since the controller is a critical-path component whose own availability directly gates the availability of every application it routes traffic to.

Multi-Controller and Multi-Class Coordination

In clusters running more than one Ingress controller or GatewayClass simultaneously, this area covers ensuring routing resources are correctly associated with their intended controller, avoiding ambiguous or conflicting claims over the same routing configuration.