--
You received this message because you are subscribed to the Google Groups "envoy-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to envoy-dev+unsubscribe@googlegroups.com.
To post to this group, send email to envo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/envoy-dev/0fa61d2f-ce6e-4f85-b106-19a76c08326c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Envoy has no knowledge of other Envoy instances. If EDS configures a cluster with a set of host:port endpoints, those are the endpoints that will receive requests that are routed to the cluster. Those endpoints can be other Envoy instances but they don't have to be.
On Wed, Aug 22, 2018 at 2:20 PM, jz <zhanj...@gmail.com> wrote:
Hello,Wasn't able to get a full answer in the other user forum so I am try my luck here. Sorry for duplicated messages:I am looking at how Envoy can be deployed as service to service proxy, and it seems Envoy can run at both at the egress and ingress side. However, I wonder if there is any special configuration needed to run Envoy at that mode, and how the ingress part works internally. For example, if the EDS response returns a list of upstream endpoints (host:port), will Envoy forward a request to the upstream service endpoints directly, or to the ingress Envoy on the remote host and let it handle from there?In another words, is it possible to run Envoy in two modes?:1. caller -> egress Envoy -> ingress Envoy -> service2. caller -> egress Envoy -> serviceAnd if so, how to setup each mode?Any pointers are appreciated.jz
--
You received this message because you are subscribed to the Google Groups "envoy-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to envoy-dev+...@googlegroups.com.
You have a lot of options.The service-to-service example presumes that each service instance has an Envoy running as a sidecar with 3 types of listeners (each listener having it's own port):1. a single listener that acts as an ingress for the service and just routes inbound requests to 127.0.0.1 on a predefined port. All requests to this port are routed to the local service instance.2. a pair of listeners dedicated to routing http and grpc to other services on the same network. These use the host/authority to route to service clusters (comprised of the host:ports of Envoy ingress listeners on other hosts)3. a separate egress listener for each external service (e.g. one port for every external service).The service uses the #2 listeners to communicate with other services you've deployed with Envoy sidecars and uses the #3 listeners to access external services such as databases or third-party APIs (whose clients libraries may not readily allow manipulation of host headers).
To unsubscribe from this group and stop receiving emails from it, send an email to envoy-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/envoy-dev/5fa79cea-9e14-45b7-bfd9-ecce8a768bb9%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to envoy-dev+unsubscribe@googlegroups.com.
To post to this group, send email to envo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/envoy-dev/c20075f4-c940-4acf-a320-f0fdb145719d%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/envoy-dev/c20075f4-c940-4acf-a320-f0fdb145719d%40googlegroups.com.