mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
opencart: fix probes to properly query pod health (#1166)
This commit is contained in:
committed by
Lachlan Evenson
parent
d575f03e05
commit
b2006a02fb
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user