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:
|
||||
- stat
|
||||
- /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:
|
||||
- configMapRef:
|
||||
name: {{ include "funkwhale.fullname" . }}
|
||||
|
@ -97,9 +100,15 @@ spec:
|
|||
httpGet:
|
||||
path: /
|
||||
port: http
|
||||
failureThreshold: {{ .values.front.livenessProbe.failureThreshold | default 3 }}
|
||||
periodSeconds: {{ .values.front.livenessProbe.periodSeconds | default 10 }}
|
||||
initialDelaySeconds: {{ .values.front.livenessProbe.initialDelaySeconds | default 5 }}
|
||||
readinessProbe:
|
||||
tcpSocket:
|
||||
port: http
|
||||
failureThreshold: {{ .values.front.readinessProbe.failureThreshold | default 3 }}
|
||||
periodSeconds: {{ .values.front.readinessProbe.periodSeconds | default 10 }}
|
||||
initialDelaySeconds: {{ .values.front.readinessProbe.initialDelaySeconds | default 5 }}
|
||||
volumeMounts:
|
||||
- mountPath: /run/funkwhale
|
||||
name: funkwhale-sock
|
||||
|
|
Loading…
Reference in a new issue