This repo contains different examples about implementing golang gRPC server/client in Kubernetes and shows different approaches on how to achieve a proper load balancing.
check demo 1 and k8s demo1 folders to see the a common default configuration.
check demo2 and k8s demo2 folders to see the a tweaked configuration using the grpc DNS resolver and a headless servic.
check demo3 and k8s demo3 folders to see the implementation of a custom gRPC resolver also the usage of a custom gRPC proxy along with the headless service.