Does a gRPC and Kubernetes connection only dial to one replica?

Viewed 503

I have been studying gRPC and Kubernetes with Go. In my golang code, my API Gateway dials my micro services in a init() function before main begins. My Question is if I have multiple replicas of my micro services and my API Gateway dials a one-time connection to the micro service does it stay connected to the first pod/replica that the load-balancer sends that traffic to? If not how does a load balancer keep that dialed connection active? Thank You

1 Answers
Related