opencart: fix probes to properly query pod health (#1166)

This commit is contained in:
Sameer Naik
2017-06-06 17:08:02 -07:00
committed by Lachlan Evenson
parent d575f03e05
commit b2006a02fb
+12 -4
View File
@@ -59,16 +59,24 @@ spec:
containerPort: 443
livenessProbe:
httpGet:
path: /
path: /admin/
port: http
httpHeaders:
- name: Host
value: {{ include "host" . | quote }}
initialDelaySeconds: 120
timeoutSeconds: 5
failureThreshold: 6
readinessProbe:
httpGet:
path: /
path: /admin/
port: http
initialDelaySeconds: 5
timeoutSeconds: 1
httpHeaders:
- name: Host
value: {{ include "host" . | quote }}
initialDelaySeconds: 30
timeoutSeconds: 3
periodSeconds: 5
resources:
{{ toYaml .Values.resources | indent 10 }}
volumeMounts: