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:]
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:
Implement Dynamic Resolver
E2E
Docs
Add warnings for Dynamic Resolver in docs
Support appProtocol for Dynamic Resolver
[optional Relevant Links:]