Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add links to Allocator Service APIs #2023

Merged
merged 1 commit into from
Mar 11, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions site/content/en/docs/Advanced/allocator-service.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,10 @@ You should expect to see the following output:
{"gameServerName":"game-server-name","ports":[{"name":"default","port":7463}],"address":"1.2.3.4","nodeName":"node-name"}
```

### Sending Data to the Game Server

The service accepts a `metaPatch` field, which can be used to apply `labels` and `annotations` to the allocated `GameServer`.

## Secrets Explained

`agones-allocator` has a dependency on three Kubernetes secrets:
Expand Down Expand Up @@ -225,3 +229,7 @@ If you encounter problems, explore the following potential root causes:
kubectl get service agones-allocator -n agones-system
agones-allocator LoadBalancer 10.55.248.14 34.82.195.204 443:32468/TCP 6d23h
```

## API Reference

The AllocationService API is located as a gRPC service {{< ghlink href="proto/allocation/allocation.proto" >}}here{{< /ghlink >}}. Additionally, the REST API is available as a {{< ghlink href="pkg/allocation/go/allocation.swagger.json" >}}Swagger API{{< /ghlink >}}.