matrix-synapse: Improve health checks
This commit is contained in:
parent
86b2540154
commit
f6c63e7511
3 changed files with 20 additions and 7 deletions
|
@ -6,7 +6,7 @@ icon: https://matrix.org/images/matrix-logo.svg
|
|||
appVersion: 1.63.1
|
||||
|
||||
type: application
|
||||
version: 2.3.4
|
||||
version: 2.3.5
|
||||
maintainers:
|
||||
- name: Alexander Olofsson
|
||||
email: ace@haxalot.com
|
||||
|
|
|
@ -122,15 +122,19 @@ spec:
|
|||
- name: listener
|
||||
containerPort: 8083
|
||||
protocol: TCP
|
||||
{{- if (or $config.livenessProbe $default.livenessProbe) }}
|
||||
livenessProbe:
|
||||
{{- $config.livenessProbe | default $default.livenessProbe | toYaml | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- if (or $config.readinessProbe $default.readinessProbe) }}
|
||||
readinessProbe:
|
||||
{{- $config.readinessProbe | default $default.readinessProbe | toYaml | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if (or $config.livenessProbe $default.livenessProbe) }}
|
||||
livenessProbe:
|
||||
{{- $config.livenessProbe | default $default.livenessProbe | toYaml | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- if (or $config.startupProbe $default.startupProbe) }}
|
||||
startupProbe:
|
||||
{{- $config.startupProbe | default $default.startupProbe | toYaml | nindent 12 }}
|
||||
{{- end }}
|
||||
resources:
|
||||
{{- $config.resources | default $default.resources | toYaml | nindent 12 }}
|
||||
volumeMounts:
|
||||
|
|
|
@ -352,14 +352,23 @@ workers:
|
|||
livenessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: listener
|
||||
port: metrics
|
||||
|
||||
## Readiness probe configuration to use
|
||||
##
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: listener
|
||||
port: metrics
|
||||
|
||||
## Readiness probe configuration to use
|
||||
## Defaults to allowing workers 60 seconds to start up
|
||||
##
|
||||
startupProbe:
|
||||
failureThreshold: 6
|
||||
httpGet:
|
||||
path: /health
|
||||
port: metrics
|
||||
|
||||
## Node selector configuration to set on the worker.
|
||||
##
|
||||
|
|
Loading…
Reference in a new issue