File tree 2 files changed +22
-2
lines changed
2 files changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -271,17 +271,34 @@ spec:
271
271
path : /health
272
272
port : {{ .Values.service.port }}
273
273
scheme : HTTP
274
+ {{- if .Values.customReadinessProbe }}
275
+ readinessProbe : {{- include "common.tplvalues.render" (dict "value" .Values.customReadinessProbe "context" $) | nindent 12 }}
276
+ {{- else if .Values.readinessProbe.enabled }}
274
277
readinessProbe :
275
278
httpGet :
276
279
path : /health
277
280
port : {{ .Values.service.port }}
278
281
scheme : HTTP
282
+ initialDelaySeconds : {{ .Values.readinessProbe.initialDelaySeconds }}
283
+ periodSeconds : {{ .Values.readinessProbe.periodSeconds }}
284
+ timeoutSeconds : {{ .Values.readinessProbe.timeoutSeconds }}
285
+ successThreshold : {{ .Values.readinessProbe.successThreshold }}
286
+ failureThreshold : {{ .Values.readinessProbe.failureThreshold }}
287
+ {{- end }}
288
+ {{- if .Values.customLivenessProbe }}
289
+ livenessProbe : {{- include "common.tplvalues.render" (dict "value" .Values.customLivenessProbe "context" $) | nindent 12 }}
290
+ {{- else if .Values.livenessProbe.enabled }}
279
291
livenessProbe :
280
- initialDelaySeconds : {{ .Values.livenessProbe.initialDelaySeconds }}
281
292
httpGet :
282
293
path : /health
283
294
port : {{ .Values.service.port }}
284
295
scheme : HTTP
296
+ initialDelaySeconds : {{ .Values.livenessProbe.initialDelaySeconds }}
297
+ periodSeconds : {{ .Values.livenessProbe.periodSeconds }}
298
+ timeoutSeconds : {{ .Values.livenessProbe.timeoutSeconds }}
299
+ successThreshold : {{ .Values.livenessProbe.successThreshold }}
300
+ failureThreshold : {{ .Values.livenessProbe.failureThreshold }}
301
+ {{- end }}
285
302
resources :
286
303
{{- toYaml .Values.resources | nindent 12 }}
287
304
volumeMounts :
Original file line number Diff line number Diff line change @@ -194,7 +194,6 @@ next:
194
194
# # Should it enable controller API
195
195
enabled : true
196
196
197
-
198
197
# # Configure cron jobs in this installation.
199
198
# - tkcagnt_*** - Super Agent
200
199
cronJobs :
@@ -755,8 +754,12 @@ testConnection:
755
754
756
755
# # Testkube API Liveness probe
757
756
livenessProbe :
757
+ enabled : true
758
758
initialDelaySeconds : 30
759
759
760
+ readinessProbe :
761
+ enabled : true
762
+
760
763
# # Testkube API HTTP body size limit
761
764
# # httpBodyLimit: 1073741824
762
765
You can’t perform that action at this time.
0 commit comments