Skip to content

Add TCPRoute and UDPRoute Support for L4 Load Balancing #3687

@Skcey

Description

@Skcey

Is your enhancement request related to a problem? Please describe.
Currently, NGF only supports HTTPRoute and TLSRoute, lacking support for TCPRoute and UDPRoute. This makes it impossible to manage Layer 4 (TCP/UDP) traffic through Gateway API.

What would you like to be added:
Add basic support for TCPRoute and UDPRoute in NGF, including:

  1. Implement controllers for TCPRoute and UDPRoute to watch and process these resources.
  2. Support associating a single backend Service in the route rules.
  3. Generate corresponding NGINX stream configurations to enable Layer 4 load balancing (e.g., distributing TCP traffic to multiple pods behind a Service).

Why this is needed:
Many users need to manage TCP-based services (e.g., databases, message queues) alongside HTTP services.

Additional context
Add any other context or screenshots about the enhancement request here.

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions