Skip to content

Commit 6c189b8

Browse files
authored
Merge pull request #32 from relution-io/feature/extend-probe-configuration
extend configuration options for probes
2 parents 5c88f61 + a4c9816 commit 6c189b8

File tree

3 files changed

+17
-5
lines changed

3 files changed

+17
-5
lines changed

charts/relution/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ sources:
1111

1212
type: application
1313

14-
version: 2.6.0-1
14+
version: 2.6.1-1
1515

1616
appVersion: "5.33.0"
1717

charts/relution/templates/deployment.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,22 +157,27 @@ spec:
157157
httpGet:
158158
path: /actuator/health
159159
port: monitoring
160-
failureThreshold: {{ .Values.startupProbe.failureThreshold | default 30 }}
161160
periodSeconds: {{ .Values.startupProbe.periodSeconds | default 10 }}
161+
timeoutSeconds: {{ .Values.startupProbe.timeoutSeconds | default 1 }}
162+
failureThreshold: {{ .Values.startupProbe.failureThreshold | default 30 }}
162163
{{- end }}
163164
{{- if .Values.livenessProbe.enabled }}
164165
livenessProbe:
165166
httpGet:
166167
path: /actuator/health/liveness
167168
port: monitoring
168-
timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }}
169+
periodSeconds: {{ .Values.livenessProbe.periodSeconds | default 10 }}
170+
timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds | default 1 }}
171+
failureThreshold: {{ .Values.livenessProbe.failureThreshold | default 3 }}
169172
{{- end }}
170173
{{- if .Values.readinessProbe.enabled }}
171174
readinessProbe:
172175
httpGet:
173176
path: /actuator/health/readiness
174177
port: monitoring
175-
timeoutSeconds: {{ .Values.readinessProbe.timeoutSeconds }}
178+
periodSeconds: {{ .Values.readinessProbe.periodSeconds | default 10 }}
179+
timeoutSeconds: {{ .Values.readinessProbe.timeoutSeconds | default 1 }}
180+
failureThreshold: {{ .Values.readinessProbe.failureThreshold | default 3 }}
176181
{{- end }}
177182
resources:
178183
{{- toYaml .Values.resources | nindent 12 }}

charts/relution/values.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,16 +75,21 @@ ingressRoute:
7575

7676
startupProbe:
7777
enabled: true
78-
failureThreshold: 30
7978
periodSeconds: 10
79+
timeoutSeconds: 1
80+
failureThreshold: 30
8081

8182
readinessProbe:
8283
enabled: true
84+
periodSeconds: 10
8385
timeoutSeconds: 1
86+
failureThreshold: 3
8487

8588
livenessProbe:
8689
enabled: true
90+
periodSeconds: 10
8791
timeoutSeconds: 1
92+
failureThreshold: 3
8893

8994
resources: {}
9095

@@ -192,6 +197,8 @@ heapDumpExporter:
192197
# MariaDB is provided as a dependency to enable quick debugging. We recommend deploying Relution on a dedicated database cluster.
193198
mariadb:
194199
enabled: false
200+
image:
201+
repository: bitnamilegacy/mariadb
195202
auth:
196203
# Please change these passwords before deploying Relution.
197204
rootPassword: root

0 commit comments

Comments
 (0)