Blogs / Why TCP and UDP Workloads Needed Gateway Routes

Why TCP and UDP Workloads Needed Gateway Routes

What the Kubernetes Gateway API v1.6 post says was missing for raw TCP and UDP workloads and what TCPRoute and UDPRoute route on.

  • Learning
  • 1 min read

For: Learners who know what a Kubernetes Service is.

What Gateway API offered before

Gateway API has become the standard for modern, role-oriented, and expressive service networking in Kubernetes.[1]

Until now, Gateway API only offered a stable routing model for HTTP and TLS traffic.[1]

Who was left out and what the new routes do

Workloads that speak a raw protocol over TCP or UDP - databases, DNS, VoIP, gaming, IoT telemetry - had no portable way to plug into a Gateway.[1]

Users either fell back to a plain Kubernetes Service, or to an implementation-specific CRD that doesn't travel between Gateway controllers.[1]

TCPRoute and UDPRoute close that gap: they route traffic to backends based on protocol and port alone, no L7 awareness required.[1]

HTTP and TLS routingthe only stable Gateway APIrouting modelRaw TCP or UDPworkloadsdatabases, DNS, VoIP,gaming, IoT telemetryTCPRoute and UDPRouteroute on protocol and portaloneleft these outnow covered
Which workloads had no portable route before?

Sources

  1. Gateway API v1.6 (kubernetes.io · checked )

More articles