File tree 2 files changed +22
-6
lines changed
2 files changed +22
-6
lines changed Original file line number Diff line number Diff line change 91
91
{{- if .Values.probes.useHttpsScheme }}
92
92
scheme : HTTPS
93
93
{{- end }}
94
- initialDelaySeconds : 60
95
- periodSeconds : 30
96
- timeoutSeconds : 10
94
+ initialDelaySeconds : {{ .Values.probes.livenessProbe.initialDelaySeconds }}
95
+ periodSeconds : {{ .Values.probes.livenessProbe.periodSeconds }}
96
+ timeoutSeconds : {{ .Values.probes.livenessProbe.timeoutSeconds }}
97
+ successThreshold : {{ .Values.probes.livenessProbe.successThreshold }}
98
+ failureThreshold : {{ .Values.probes.livenessProbe.failureThreshold }}
97
99
readinessProbe :
98
100
httpGet :
99
101
{{- $contextPath := .Values.envs.config.SERVER_SERVLET_CONTEXT_PATH | default "" | printf "%s/actuator/health" | urlParse }}
@@ -102,9 +104,11 @@ spec:
102
104
{{- if .Values.probes.useHttpsScheme }}
103
105
scheme : HTTPS
104
106
{{- end }}
105
- initialDelaySeconds : 60
106
- periodSeconds : 30
107
- timeoutSeconds : 10
107
+ initialDelaySeconds : {{ .Values.probes.readinessProbe.initialDelaySeconds }}
108
+ periodSeconds : {{ .Values.probes.readinessProbe.periodSeconds }}
109
+ timeoutSeconds : {{ .Values.probes.readinessProbe.timeoutSeconds }}
110
+ successThreshold : {{ .Values.probes.readinessProbe.successThreshold }}
111
+ failureThreshold : {{ .Values.probes.readinessProbe.failureThreshold }}
108
112
resources :
109
113
{{- toYaml .Values.resources | nindent 12 }}
110
114
{{- if or .Values.yamlApplicationConfig .Values.volumeMounts .Values.yamlApplicationConfigConfigMap}}
Original file line number Diff line number Diff line change @@ -77,6 +77,18 @@ annotations: {}
77
77
# #
78
78
probes :
79
79
useHttpsScheme : false
80
+ livenessProbe :
81
+ initialDelaySeconds : 60
82
+ periodSeconds : 30
83
+ timeoutSeconds : 10
84
+ successThreshold : 1
85
+ failureThreshold : 3
86
+ readinessProbe :
87
+ initialDelaySeconds : 60
88
+ periodSeconds : 30
89
+ timeoutSeconds : 10
90
+ successThreshold : 1
91
+ failureThreshold : 3
80
92
81
93
podSecurityContext :
82
94
{}
You can’t perform that action at this time.
0 commit comments