Skip to content

Commit

Permalink
Working Node.js example gameserver.yaml
Browse files Browse the repository at this point in the history
Was testing out the node.js example in attempt to replicate #1299, but
needed to make changes to the gameserver.yaml to make sure it worked
correctly.
  • Loading branch information
markmandel committed Apr 14, 2020
1 parent 3f51072 commit bcd07c6
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions examples/nodejs-simple/gameserver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,14 @@ spec:
- name: default
portPolicy: Dynamic
containerPort: 7654
health:
# waits for 30 seconds before checking health
initialDelaySeconds: 30
# health ping sends every 20 seconds, so let's give it 5 seconds buffer
periodSeconds: 25
template:
spec:
containers:
- name: nodejs-simple
image: gcr.io/agones-images/nodejs-simple-server:0.2
imagePullPolicy: Always
image: gcr.io/agones-images/nodejs-simple-server:0.4
# args: ["--timeout=0"] # Change the timeout here, if you like the nodejs server to run longer.

0 comments on commit bcd07c6

Please sign in to comment.