Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How can we make grpc call between services deployed in 2 GKE clusters?

Suppose there are 2 GKE clusters A and B, and there are 2 different microservices deployed in both of these clusters, service A and B respectively..How can we make grpc call between service A and B and vice versa? @lawrencenelson  @juliadeanne 

Solved Solved
0 1 493
1 ACCEPTED SOLUTION

There are several options:

1) Expose the gRPC services in each cluster using either an internal TCP load balancer or an internal gateway

2) Use GKE multi-cluster services to enable communication across / between clusters

3) Expose your gRPC services as headless services  and then use a custom load balancing policy since a headless service will return multiple endpoints for DNS lookups.

View solution in original post

1 REPLY 1

There are several options:

1) Expose the gRPC services in each cluster using either an internal TCP load balancer or an internal gateway

2) Use GKE multi-cluster services to enable communication across / between clusters

3) Expose your gRPC services as headless services  and then use a custom load balancing policy since a headless service will return multiple endpoints for DNS lookups.

Top Labels in this Space
Top Solution Authors