Skip to content

Commit 76ee8f9

Browse files
JJhukRobert Bailey
andauthored
Change deprecated preferred & required to selectors (agones-dev#2577)
Co-authored-by: Robert Bailey <robertbailey@google.com>
1 parent 472a528 commit 76ee8f9

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

‎site/content/en/docs/Integration Patterns/player-capacity.md‎

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,15 @@ to 15 players, and if it cannot find one, will allocate a Ready one from the sam
3030
apiVersion: "allocation.agones.dev/v1"
3131
kind: GameServerAllocation
3232
spec:
33-
preferred:
34-
- gameServerState: Allocated
35-
matchLabels:
33+
selectors:
34+
- matchLabels:
3635
agones.dev/fleet: lobby
36+
gameServerState: Allocated
3737
players:
3838
minAvailable: 10
3939
maxAvailable: 15
40-
required:
41-
matchLabels:
42-
agones.dev/fleet: lobby
40+
- matchLabels:
41+
agones.dev/fleet: lobby
4342
```
4443
4544
{{< alert title="Note" color="info">}}

0 commit comments

Comments
 (0)