matrix-synapse: Add a default 120s startup probe
This should avoid initial setup failing if the cluster is running on low-powered hardware or using slow storage for the database
This commit is contained in:
parent
c2311f8ffd
commit
881044411c
2 changed files with 12 additions and 0 deletions
|
@ -130,6 +130,10 @@ spec:
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
{{- . | toYaml | nindent 12 }}
|
{{- . | toYaml | nindent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.synapse.startupProbe }}
|
||||||
|
startupProbe:
|
||||||
|
{{- . | toYaml | nindent 12 }}
|
||||||
|
{{- end }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config
|
- name: config
|
||||||
mountPath: /synapse/config
|
mountPath: /synapse/config
|
||||||
|
|
|
@ -272,6 +272,14 @@ synapse:
|
||||||
path: /health
|
path: /health
|
||||||
port: http
|
port: http
|
||||||
|
|
||||||
|
## Startup probe configuration to use
|
||||||
|
##
|
||||||
|
startupProbe:
|
||||||
|
failureThreshold: 12
|
||||||
|
httpGet:
|
||||||
|
path: /health
|
||||||
|
port: http
|
||||||
|
|
||||||
## Node selectors to set for the main Synapse pod.
|
## Node selectors to set for the main Synapse pod.
|
||||||
##
|
##
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
|
|
Loading…
Reference in a new issue