Can ESPv2 be used as a reverse proxy with DNS load balancer for microservices in GKE?

256 views
Skip to first unread message

Julius Bartkus

unread,
Oct 22, 2020, 2:13:06 PM10/22/20
to Google Cloud Endpoints
Hello,
we have a bunch of microservices running on GKE together with ESPv2 as a sidecar. All internal communication is done through GRPC. ESPv2 does an amazing job with logging, tracing, authentication, etc. However, it would be great if ESPv2 could solve the load-balancing for GRPC communication.

Is it possible to use/configure ESPv2 as a reverse proxy so that envoy does health checking on DNS for headless services and routes all communication to healthy pods? If not, is it something on a roadmap of ESPv2? 

Thank you!

Best regards,
Julius 

Wayne Zhang

unread,
Oct 22, 2020, 2:26:55 PM10/22/20
to Julius Bartkus, Google Cloud Endpoints
Unfortunately,  ESPv2 doesn't support load balancing feature.  

If you use ESPv2 as a side-car for inbound traffic,  the backend is localhost in the same pod.  No need for such a feature
If you want to use ESPv2 for outbound traffic, then you need such a feature.  But then, you are talking about a service mesh,   
It only also needs to solve service discovery and load balancing, but also traffic interception.  I think Istio is better suited for this. 

I don't think ESPv2 wants to compete with Istio.


--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/cbf16836-d5a4-4797-9b85-8ba977bad6b1n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages