Skip to content

Commit

Permalink
Extract health checks properties to values.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
fooock committed Mar 21, 2018
1 parent 5ef0dcb commit c1f6c38
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 5 additions & 3 deletions install/agones/templates/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ spec:
livenessProbe:
httpGet:
path: /live
port: 8080
initialDelaySeconds: 3
periodSeconds: 3
port: {{ .Values.healthCheck.http.port }}
initialDelaySeconds: {{ .Values.healthCheck.initialDelaySeconds }}
periodSeconds: {{ .Values.healthCheck.periodSeconds }}
failureThreshold: {{ .Values.healthCheck.failureThreshold }}
timeoutSeconds: {{ .Values.healthCheck.timeoutSeconds }}
8 changes: 7 additions & 1 deletion install/agones/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,10 @@ image:
minPort: 7000
maxPort: 8000


healthCheck:
http:
port: 8080
initialDelaySeconds: 3
periodSeconds: 3
failureThreshold: 3
timeoutSeconds: 1

0 comments on commit c1f6c38

Please sign in to comment.