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
|
appVersion: 1.63.1
|
||||||
|
|
||||||
type: application
|
type: application
|
||||||
version: 2.3.4
|
version: 2.3.5
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: Alexander Olofsson
|
- name: Alexander Olofsson
|
||||||
email: ace@haxalot.com
|
email: ace@haxalot.com
|
||||||
|
|
|
@ -122,15 +122,19 @@ spec:
|
||||||
- name: listener
|
- name: listener
|
||||||
containerPort: 8083
|
containerPort: 8083
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
{{- if (or $config.livenessProbe $default.livenessProbe) }}
|
|
||||||
livenessProbe:
|
|
||||||
{{- $config.livenessProbe | default $default.livenessProbe | toYaml | nindent 12 }}
|
|
||||||
{{- end }}
|
|
||||||
{{- if (or $config.readinessProbe $default.readinessProbe) }}
|
{{- if (or $config.readinessProbe $default.readinessProbe) }}
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
{{- $config.readinessProbe | default $default.readinessProbe | toYaml | nindent 12 }}
|
{{- $config.readinessProbe | default $default.readinessProbe | toYaml | nindent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- 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:
|
resources:
|
||||||
{{- $config.resources | default $default.resources | toYaml | nindent 12 }}
|
{{- $config.resources | default $default.resources | toYaml | nindent 12 }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
|
|
@ -352,14 +352,23 @@ workers:
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /health
|
path: /health
|
||||||
port: listener
|
port: metrics
|
||||||
|
|
||||||
## Readiness probe configuration to use
|
## Readiness probe configuration to use
|
||||||
##
|
##
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /health
|
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.
|
## Node selector configuration to set on the worker.
|
||||||
##
|
##
|
||||||
|
|
Loading…
Reference in a new issue