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

http-route

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

Type: trait. From: the traefik addon.

Parameters​

domains []string
Specify some domains, the domain may be prefixed with a wildcard label (*.)
gatewayName string default traefik-gateway
Specify the gateway name
listenerName string default web
Specify the listner name of the gateway
rules[] (7) Specify some HTTP matchers, filters and actions.
serviceName string
Specify the service name of component, the default is component name.
port int required
Specify the service port of component.
path (2) An HTTP request path matcher. If this field is not specified, a default prefix match on the "/" path is provided.
type PathPrefix or Exact default PathPrefix
value string default /
headers[] (3) Conditions to select a HTTP route by matching HTTP request headers.
type string required
name string required
value string required