Install Agones. Options set Allocator non-TLS.
helm repo add agones https://agones.dev/chart/stable
helm repo update
helm upgrade --install agones agones/agones --version 1.23.0 --namespace agones-system --create-namespace --set agones.allocator.service.http.port=8443 --set agones.allocator.service.grpc.enabled=false --set agones.allocator.disableTLS=true
Try on Kubernetes. Use examples/k8s/deployment.yaml.
kubectl apply -f ./examples/k8s/deployment.yaml
Now server and up and running on http://localhost
To allocate Gameserver, you have 2 way.
kubectl apply -f ./examples/k8s/allocation.yaml
Clean kubernetes resources.
kubectl delete -f ./examples/k8s/deployment.yaml
helm uninstall agones -n agones-system
Run docker-compose to emulate AgonesSDK. Use examples/docker/compose.yaml.
services:
frontend:
image: agonessample-simplefrontend:v2.0.0
ports:
- 5104:80
server:
image: agonessample-simplebackend:v2.0.0
ports:
- 5157:80
Then run docker-compose.
docker compose up --build
Content type
Image
Digest
sha256:adb5b6391…
Size
100.7 MB
Last updated
almost 4 years ago
docker pull guitarrapc/agonessample-simplebackend