1
0
Fork 0

added thresholds to readiness and liveness probes

This commit is contained in:
sido 2018-09-11 12:57:40 +02:00
parent 6f4f98c091
commit bf770cc05e
1 changed files with 7 additions and 3 deletions

View File

@ -53,14 +53,18 @@ spec:
httpGet:
path: /
port: 8080
initialDelaySeconds: 180
initialDelaySeconds: 60
periodSeconds: 5
failureThreshold: 15
successThreshold: 1
readinessProbe:
httpGet:
path: /api/v2/version
port: 8080
initialDelaySeconds: 180
periodSeconds: 5
initialDelaySeconds: 120
periodSeconds: 30
failureThreshold: 3
successThreshold: 1
resources:
{{ toYaml .resources | indent 12 }}
{{- end }}