You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1881d54
Browse filesBrowse the repository at this point in the historyBrowse files
@@ -364,7 +364,7 @@ If you're interested in more details for game server allocation, you should cons
364
364
Here we only interested in triggering allocations to see the autoscaler in action.
365
365
366
366
```
367
-
for i in {0..1} ; do kubectl create -f https://raw.githubusercontent.com/googleforgames/agones/master/examples/simple-udp/fleetallocation.yaml -o yaml ; done
367
+
for i in {0..1} ; do kubectl create -f https://raw.githubusercontent.com/googleforgames/agones/master/examples/simple-udp/gameserverallocation.yaml -o yaml ; done
Copy file name to clipboardExpand all lines: site/content/en/docs/Guides/Client SDKs/_index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,7 +98,7 @@ This can be useful to track `GameServer > Status > State` changes, `metadata` ch
98
98
99
99
In combination with this SDK, manipulating [Annotations](https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/) and
100
100
[Labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/) can also be a useful way to communicate information through to running game server processes from outside those processes.
101
-
This is especially useful when combined with `FleetAllocation`[applied metadata]({{< ref "/docs/Reference/fleet.md#fleet-allocation-specification" >}}).
101
+
This is especially useful when combined with `GameServerAllocation`[applied metadata]({{< ref "/docs/Reference/fleet.md#gameserver-allocation-specification" >}}).
102
102
103
103
Since the GameServer contains an entire [PodTemplate](https://kubernetes.io/docs/concepts/workloads/pods/pod-overview/#pod-templates)
104
104
the returned object is limited to that configuration that was deemed useful. If there are
Copy file name to clipboardExpand all lines: site/content/en/docs/Reference/fleet.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ description: "A `Fleet` is a set of warm GameServers that are available to be al
6
6
weight: 20
7
7
---
8
8
9
-
To allocate a `GameServer` from a `Fleet`, use a `FleetAllocation`.
9
+
To allocate a `GameServer` from a `Fleet`, use a `GameServerAllocation`.
10
10
11
11
Like any other Kubernetes resource you describe a `Fleet`'s desired state via a specification written in YAML or JSON to the Kubernetes API. The Agones controller will then change the actual state to the desired state.
12
12
@@ -77,9 +77,6 @@ The `spec` field is the actual `Fleet` specification and it is composed as follo
77
77
78
78
## GameServer Allocation Specification
79
79
80
-
> GameServerAllocation will eventually replace FleetAllocation, but is currently experimental, and likely to change in upcoming releases.
81
-
However, we welcome you to test it out in its current format and provide feedback.
82
-
83
80
A `GameServerAllocation` is used to atomically allocate a GameServer out of a set of GameServers.
84
81
This could be a single Fleet, multiple Fleets, or a self managed group of GameServers.
85
82
@@ -142,6 +139,7 @@ The `spec` field is the actual `GameServerAllocation` specification and it is co
142
139
- `metadata`is an optional list of custom labels and/or annotations that will be used to patch
143
140
the game server's metadata in the moment of allocation. This can be used to tell the server necessary session data
144
141
142
+
{{< feature expiryVersion="0.12.0" >}}
145
143
## Fleet Allocation Specification
146
144
147
145
> Fleet Allocation is **deprecated** in version 0.10.0, and will be removed in the 0.12.0 release.
@@ -175,6 +173,7 @@ The `spec` field is the actual `FleetAllocation` specification and it is compose
175
173
when the `FleetAllocation` is created
176
174
- `metadata`is an optional list of custom labels and/or annotations that will be used to patch
177
175
the game server's metadata in the moment of allocation. This can be used to tell the server necessary session data
Copy file name to clipboardExpand all lines: site/content/en/docs/Tutorials/allocator-service-go.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ description: >
8
8
---
9
9
10
10
To do this, we will implement a [Service](https://kubernetes.io/docs/concepts/services-networking/service/) which allocates a
11
-
Game Server on demand by calling the Create() method of the FleetAllocationInterface. After creating the fleet
11
+
Game Server on demand by calling the Create() method of the GameServerAllocationInterface. After creating the fleet
12
12
allocation, we will return the JSON encoded GameServerStatus of the allocated GameServer.
13
13
14
14
The type of service we will be learning about could be used by a game client to connect directly to a dedicated Game Server, as part of a larger system, such as a matchmaker service, or in conjunction with a database of level transition data. We will be using the service as a vehicle with which to execute the API calls found in our main.go file.
This service will interact with Agones via the Agones API by using a [service account](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/) named fleet-allocator. Specifically, the fleet-allocator service account is granted permissions to perform create operations against FleetAllocation objects, and get operations against Fleet objects.
166
+
This service will interact with Agones via the Agones API by using a [service account](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/) named fleet-allocator. Specifically, the fleet-allocator service account is granted permissions to perform create operations against GameServerAllocation objects, and get operations against Fleet objects.
167
167
168
168
Create the service account by changing directories to your local agones/examples/allocator-service directory and running this command:
0 commit comments