File tree Expand file tree Collapse file tree 4 files changed +56
-0
lines changed
kiali-upstream/2.2.0/manifests
roles/default/kiali-deploy/templates Expand file tree Collapse file tree 4 files changed +56
-0
lines changed Original file line number Diff line number Diff line change @@ -260,6 +260,25 @@ spec:
260
260
- " --zap-log-level=info"
261
261
- " --leader-election-id=kiali-operator"
262
262
- " --watches-file=./$(WATCHES_FILE)"
263
+ - " --health-probe-bind-address=:6789"
264
+ terminationMessagePolicy : FallbackToLogsOnError
265
+ readinessProbe :
266
+ httpGet :
267
+ path : /readyz
268
+ port : 6789
269
+ periodSeconds : 30
270
+ livenessProbe :
271
+ httpGet :
272
+ path : /healthz
273
+ port : 6789
274
+ periodSeconds : 30
275
+ startupProbe :
276
+ httpGet :
277
+ path : /healthz
278
+ port : 6789
279
+ initialDelaySeconds : 30
280
+ periodSeconds : 10
281
+ failureThreshold : 6
263
282
securityContext :
264
283
allowPrivilegeEscalation : false
265
284
privileged : false
Original file line number Diff line number Diff line change @@ -201,6 +201,25 @@ spec:
201
201
- " --zap-log-level=info"
202
202
- " --leader-election-id=kiali-operator"
203
203
- " --watches-file=./$(WATCHES_FILE)"
204
+ - " --health-probe-bind-address=:6789"
205
+ terminationMessagePolicy : FallbackToLogsOnError
206
+ readinessProbe :
207
+ httpGet :
208
+ path : /readyz
209
+ port : 6789
210
+ periodSeconds : 30
211
+ livenessProbe :
212
+ httpGet :
213
+ path : /healthz
214
+ port : 6789
215
+ periodSeconds : 30
216
+ startupProbe :
217
+ httpGet :
218
+ path : /healthz
219
+ port : 6789
220
+ initialDelaySeconds : 30
221
+ periodSeconds : 10
222
+ failureThreshold : 6
204
223
securityContext :
205
224
allowPrivilegeEscalation : false
206
225
privileged : false
Original file line number Diff line number Diff line change 66
66
- " /opt/kiali/kiali"
67
67
- " -config"
68
68
- " /kiali-configuration/config.yaml"
69
+ terminationMessagePolicy : FallbackToLogsOnError
69
70
securityContext :
70
71
{% if kiali_vars.deployment.security_context|length > 0 %}
71
72
{{ kiali_vars.deployment.security_context | to_nice_yaml(indent=0) | trim | indent(10) }}
@@ -100,6 +101,14 @@ spec:
100
101
scheme : {{ 'HTTP' if kiali_vars.identity.cert_file == "" else 'HTTPS' }}
101
102
initialDelaySeconds : 5
102
103
periodSeconds : 30
104
+ startupProbe :
105
+ httpGet :
106
+ path : {{ kiali_vars.server.web_root | regex_replace('\\/$', '') }}/healthz
107
+ port : api-port
108
+ scheme : {{ 'HTTP' if kiali_vars.identity.cert_file == "" else 'HTTPS' }}
109
+ initialDelaySeconds : 30
110
+ periodSeconds : 10
111
+ failureThreshold : 6
103
112
env :
104
113
- name : ACTIVE_NAMESPACE
105
114
valueFrom :
Original file line number Diff line number Diff line change 66
66
- " /opt/kiali/kiali"
67
67
- " -config"
68
68
- " /kiali-configuration/config.yaml"
69
+ terminationMessagePolicy : FallbackToLogsOnError
69
70
securityContext :
70
71
{% if kiali_vars.deployment.security_context|length > 0 %}
71
72
{{ kiali_vars.deployment.security_context | to_nice_yaml(indent=0) | trim | indent(10) }}
@@ -100,6 +101,14 @@ spec:
100
101
scheme : {{ 'HTTP' if kiali_vars.identity.cert_file == "" else 'HTTPS' }}
101
102
initialDelaySeconds : 5
102
103
periodSeconds : 30
104
+ startupProbe :
105
+ httpGet :
106
+ path : {{ kiali_vars.server.web_root | regex_replace('\\/$', '') }}/healthz
107
+ port : api-port
108
+ scheme : {{ 'HTTP' if kiali_vars.identity.cert_file == "" else 'HTTPS' }}
109
+ initialDelaySeconds : 30
110
+ periodSeconds : 10
111
+ failureThreshold : 6
103
112
env :
104
113
- name : ACTIVE_NAMESPACE
105
114
valueFrom :
You can’t perform that action at this time.
0 commit comments