Description:
In some cases, the backend address is not known in advance and must be inferred from request/connection attributes (such as a user-provided host header, jwt claim, TLS SNI, etc.).
The Envoy Dynamic Forward proxy feature can be used to achieve dynamic routing. EG can support Dynamic Forward Proxy in the following manner:
The EG Backend API can be extended to support a "dynamic" endpoint type, representing a dynamic envoy cluster. This is mostly required for BTLS policy attachment.
The EG BackendTrafficPolicy can be used to enable dynamic routing:
Injecting the appropriate HCM filter
Defining the strategy for inferring the upstream address
Description: In some cases, the backend address is not known in advance and must be inferred from request/connection attributes (such as a user-provided host header, jwt claim, TLS SNI, etc.).
The Envoy Dynamic Forward proxy feature can be used to achieve dynamic routing. EG can support Dynamic Forward Proxy in the following manner:
[optional Relevant Links:]