agones.dev/agones@v1.54.0/examples/allocator-client-csharp/README.md (about) 1 # A sample Allocator service C# client 2 3 This sample serves as a gRPC C# client sample code for agones-allocator gRPC service. 4 5 Follow instructions in [Allocator Service](https://agones.dev/site/docs/advanced/allocator-service/) to set up client and server certificate. 6 7 Run the following to allocate a game server: 8 ``` 9 #!/bin/bash 10 11 NAMESPACE=default # replace with any namespace 12 EXTERNAL_IP=`kubectl get services agones-allocator -n agones-system -o jsonpath='{.status.loadBalancer.ingress[0].ip}'` 13 KEY_FILE=client.key 14 CERT_FILE=client.crt 15 TLS_CA_FILE=ca.crt 16 MULTICLUSTER_ENABLED=false 17 18 dotnet run $KEY_FILE $CERT_FILE $TLS_CA_FILE $EXTERNAL_IP $NAMESPACE $MULTICLUSTER_ENABLED 19 ```