A machine-readable index of this documentation for AI agents is available at https://kubevela.io/llms.txt. Markdown versions of documentation pages are available by appending .md to their URLs.
Skip to main content

tcp-route

Type: trait. From: the gateway-traits addon.

defines TCP rules for mapping requests from a Gateway to Application.

Parameters​

rules[] (4) Specify the TCP matchers
gatewayPort int default 8060
Specify the gateway listener port
serviceName string
Specify the service name of component, the default is component name.
port int required
Specify the service port of component.
gatewayClassName traefik or istio default traefik
Specify the gatewayClassName.