Envoy dynamic routing

Viewed 11

Is it possible to write an envoy plugin that would resolve request destination at runtime?

Problem I'm trying to solve:

  1. requests arrive at xxxx.foo.com where cardinality of xxxx is high (there is wildcard DNS entry)
  2. requests are authorized
  3. there is in memory dynamic database that maps xxxx values to internal IP:port pair that request must be forwarded to. Mappings change frequently.

What is the easiest way to to have envoy route requests to correct destination?

0 Answers
Related