Allow customising readiness and liveness probes for slow setups.
This commit is contained in:
parent
dacb080c78
commit
e54f07fd3f
1 changed files with 9 additions and 0 deletions
|
@ -52,6 +52,9 @@ spec:
|
||||||
command:
|
command:
|
||||||
- stat
|
- stat
|
||||||
- /run/funkwhale/funkwhale.sock
|
- /run/funkwhale/funkwhale.sock
|
||||||
|
failureThreshold: {{ .values.api.readinessProbe.failureThreshold | default 3 }}
|
||||||
|
periodSeconds: {{ .values.api.readinessProbe.periodSeconds | default 10 }}
|
||||||
|
initialDelaySeconds: {{ .values.api.readinessProbe.initialDelaySeconds | default 5 }}
|
||||||
envFrom:
|
envFrom:
|
||||||
- configMapRef:
|
- configMapRef:
|
||||||
name: {{ include "funkwhale.fullname" . }}
|
name: {{ include "funkwhale.fullname" . }}
|
||||||
|
@ -97,9 +100,15 @@ spec:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /
|
||||||
port: http
|
port: http
|
||||||
|
failureThreshold: {{ .values.front.livenessProbe.failureThreshold | default 3 }}
|
||||||
|
periodSeconds: {{ .values.front.livenessProbe.periodSeconds | default 10 }}
|
||||||
|
initialDelaySeconds: {{ .values.front.livenessProbe.initialDelaySeconds | default 5 }}
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
tcpSocket:
|
tcpSocket:
|
||||||
port: http
|
port: http
|
||||||
|
failureThreshold: {{ .values.front.readinessProbe.failureThreshold | default 3 }}
|
||||||
|
periodSeconds: {{ .values.front.readinessProbe.periodSeconds | default 10 }}
|
||||||
|
initialDelaySeconds: {{ .values.front.readinessProbe.initialDelaySeconds | default 5 }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /run/funkwhale
|
- mountPath: /run/funkwhale
|
||||||
name: funkwhale-sock
|
name: funkwhale-sock
|
||||||
|
|
Loading…
Reference in a new issue