Technical requirements
For this chapter, you will find the relevant code in the folder called chapter7
in the accompanying GitHub repository (https://github.com/PacktPublishing/gRPC-Go-for-Professionals/tree/main/chapter7).
In the last section, I will use Kubernetes to show client-side load balancing. I assume that you already have Docker installed and a Kubernetes cluster. This can be done any way you want, but I provide a Kind (https://kind.sigs.k8s.io/) configuration to spin up a cluster easily and locally. This configuration is situated under the k8s
folder of chapter7
and in the file called kind.yaml
. Once Kind is installed, you can use it like so:
$ kind create cluster --config k8s/kind.yaml
And you can dispose of it by running the following command:
$ kind delete cluster