Lua (proto)
This extension has the qualified name envoy.router.cluster_specifier_plugin.lua
Note
This extension is functional but has not had substantial production burn time, use only with this caveat.
This extension is intended to be robust against both untrusted downstream and upstream traffic.
Tip
This extension extends and can be used with the following extension category:
This extension must be configured with one of the following type URLs:
Lua cluster specifier configuration reference documentation.
extensions.router.cluster_specifiers.lua.v3.LuaConfig
[extensions.router.cluster_specifiers.lua.v3.LuaConfig proto]
{
"source_code": {...},
"default_cluster": ...
}
- source_code
(config.core.v3.DataSource, REQUIRED) The lua code that Envoy will execute to select cluster.
- default_cluster
(string) Default cluster. It will be used when the lua code execute failure.