-
Notifications
You must be signed in to change notification settings - Fork 10
Gateway
The titains supports to use the envoy as a L7 API ingress gateway to route your HTTP requests to your servces in the service mesh.
The gateway mode configuration is under titanSideCars.envoy.clusters.local-myapp.gateway:
This is used to declare how envoy sidecar to route HTTP requests to your application container within the same pod
Please reference (Cluster) for all available configuration and their default values.
Here are minimum and frequently used configurations:
gateway:
enabled: bool
defaultBackend: string
minHealthRatio: integer
healthCoreClusters: []string
(bool) enable gateway mode
If not set, the gateway is disabled with default value set to false
(enum) the default backend cluster on the mesh if no matched route is found.
If not set, the default value is set to "" which will result that the direct response code 404 with message "No matching route" are returned when no matched route is found.
(integer) Minimum persentage of each backend cluster needs to be health in order to return health state of the gateway.
If not set, the default value is 25
([]string) a list of backend clusters, which contributes to the health state of the gateway.
If not set, all backend clusters are included.
Enable gateway mode
titanSideCars:
envoy:
clusters:
local-myapp:
gateway:
enabled: true