NOTE: Run commands in root directory
NOTE: K8s files works with local docker images, change imagePullPolicy to allow remote registry
docker build -t grpc-csharp-client-round-robin:latest -f .\NetCoreGrpc.LoadBalanceClient.ConsoleClientApp\Dockerfile .
docker build -t grpc-server:latest -f .\NetCoreGrpc.ServerApp\Dockerfile .
kubectl apply -f .\k8s\grpc-server.yaml
kubectl create -f .\k8s\grpc-csharp-client-round-robin.yaml
kubectl logs grpc-csharp-client-round-robin
kubectl delete -f .\k8s\grpc-csharp-client-round-robin.yaml
kubectl delete -f .\k8s\grpc-server.yaml
kubectl apply -f .\utils\dnsutils.yaml
kubectl exec -ti dnsutils -- nslookup -type=A grpc-server.default.svc.cluster.local
kubectl delete -f .\utils\dnsutils.yaml