diff --git a/charts/matrix-synapse/Chart.yaml b/charts/matrix-synapse/Chart.yaml index ed79428..58c6db2 100644 --- a/charts/matrix-synapse/Chart.yaml +++ b/charts/matrix-synapse/Chart.yaml @@ -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 diff --git a/charts/matrix-synapse/templates/worker-deployment.yaml b/charts/matrix-synapse/templates/worker-deployment.yaml index e18f3e3..d701239 100644 --- a/charts/matrix-synapse/templates/worker-deployment.yaml +++ b/charts/matrix-synapse/templates/worker-deployment.yaml @@ -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: diff --git a/charts/matrix-synapse/values.yaml b/charts/matrix-synapse/values.yaml index 410873d..2ee0873 100644 --- a/charts/matrix-synapse/values.yaml +++ b/charts/matrix-synapse/values.yaml @@ -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. ##