Skip to content

Commit

Permalink
added resource limits to gameserver.yaml and changed to name: to gene…
Browse files Browse the repository at this point in the history
…rateName:, this allows easy ad-hoc creation of multiple game servers and facilitates dense load testing
  • Loading branch information
jkowalski authored and markmandel committed Jan 23, 2019
1 parent 327ece5 commit c62be56
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion examples/simple-udp/gameserver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
apiVersion: "stable.agones.dev/v1alpha1"
kind: GameServer
metadata:
name: "simple-udp"
generateName: "simple-udp-"
spec:
ports:
- name: default
Expand All @@ -26,3 +26,10 @@ spec:
containers:
- name: simple-udp
image: gcr.io/agones-images/udp-server:0.5
resources:
requests:
memory: "32Mi"
cpu: "20m"
limits:
memory: "32Mi"
cpu: "20m"

0 comments on commit c62be56

Please sign in to comment.