Skip to content

Support Dynamic HTTP Forward Proxy #3560

@guydc

Description

@guydc

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
    • Configuring a DNS cache policy
  • Implement Dynamic Resolver

  • E2E

  • Docs

  • Add warnings for Dynamic Resolver in docs

  • Support appProtocol for Dynamic Resolver

[optional Relevant Links:]

Metadata

Metadata

Labels

area/apiAPI-related issues

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions