Skip to content

Commit ad11240

Browse files
authored
Merge pull request #72 from Signalen/feature/configurable_liveness_probes4backend
Feature/configurable liveness probes4backend
2 parents 74342ca + f9f0865 commit ad11240

File tree

5 files changed

+21
-7
lines changed

5 files changed

+21
-7
lines changed

charts/backend/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: backend
33
description: The API for the Signals application
44
type: application
5-
version: 4.13.2
5+
version: 4.13.3
66
appVersion: 2.34.1
77

88
dependencies:

charts/backend/templates/deployment.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,18 +129,21 @@ spec:
129129
{{- if ne (len .Values.extraVolumeMounts) 0 }}
130130
{{ toYaml .Values.extraVolumeMounts | indent 12 }}
131131
{{- end }}
132+
132133
livenessProbe:
133134
httpGet:
134135
path: /status/health
135136
port: http
136-
initialDelaySeconds: 30
137-
periodSeconds: 10
137+
initialDelaySeconds: {{ .Values.probes.backend.livenessProbe.initialDelaySeconds }}
138+
periodSeconds: {{ .Values.probes.backend.livenessProbe.periodSeconds }}
139+
timeoutSeconds: {{ .Values.probes.backend.livenessProbe.timeoutSeconds }}
138140
readinessProbe:
139141
httpGet:
140142
path: /status/health
141143
port: http
142-
initialDelaySeconds: 1
143-
periodSeconds: 10
144+
initialDelaySeconds: {{ .Values.probes.backend.readinessProbe.initialDelaySeconds }}
145+
periodSeconds: {{ .Values.probes.backend.readinessProbe.periodSeconds }}
146+
timeoutSeconds: {{ .Values.probes.backend.readinessProbe.timeoutSeconds }}
144147
ports:
145148
- name: http
146149
protocol: TCP

charts/backend/values.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,17 @@ ingress:
4949
hosts:
5050
- api.signals.local
5151

52+
probes:
53+
backend:
54+
livenessProbe:
55+
initialDelaySeconds: 30
56+
periodSeconds: 15
57+
timeoutSeconds: 15
58+
readinessProbe:
59+
initialDelaySeconds: 30
60+
periodSeconds: 15
61+
timeoutSeconds: 15
62+
5263
resources: {}
5364

5465
worker:

charts/classification/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ apiVersion: v2
22
name: classification
33
description: Machine learning prediction API
44
type: application
5-
version: 4.13.2
5+
version: 4.13.3
66
appVersion: ad60447d1733473e30ab0a3ba53d58141cc1d250

charts/frontend/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ apiVersion: v2
22
name: frontend
33
description: The web frontend for the Signals application
44
type: application
5-
version: 4.13.2
5+
version: 4.13.3
66
appVersion: 2.14.22

0 commit comments

Comments
 (0)