File tree Expand file tree Collapse file tree 2 files changed +18
-7
lines changed Expand file tree Collapse file tree 2 files changed +18
-7
lines changed Original file line number Diff line number Diff line change @@ -101,8 +101,8 @@ spec:
101
101
{{- else }}
102
102
scheme : HTTP
103
103
{{- end }}
104
- initialDelaySeconds : 5
105
- periodSeconds : 30
104
+ initialDelaySeconds : {{ .Values.deployment.probes.readiness.initial_delay_seconds | int | default 5 }}
105
+ periodSeconds : {{ .Values.deployment.probes.readiness.period_seconds | int | default 30 }}
106
106
livenessProbe :
107
107
httpGet :
108
108
path : {{ include "kiali-server.server.web_root" . | trimSuffix "/" }}/healthz
@@ -112,8 +112,8 @@ spec:
112
112
{{- else }}
113
113
scheme : HTTP
114
114
{{- end }}
115
- initialDelaySeconds : 5
116
- periodSeconds : 30
115
+ initialDelaySeconds : {{ .Values.deployment.probes.liveness.initial_delay_seconds | int | default 5 }}
116
+ periodSeconds : {{ .Values.deployment.probes.liveness.period_seconds | int | default 30 }}
117
117
startupProbe :
118
118
httpGet :
119
119
path : {{ include "kiali-server.server.web_root" . | trimSuffix "/" }}/healthz
@@ -123,9 +123,9 @@ spec:
123
123
{{- else }}
124
124
scheme : HTTP
125
125
{{- end }}
126
- initialDelaySeconds : 30
127
- periodSeconds : 10
128
- failureThreshold : 6
126
+ failureThreshold : {{ .Values.deployment.probes.startup.failure_threshold | int | default 6 }}
127
+ initialDelaySeconds : {{ .Values.deployment.probes.startup.initial_delay_seconds | int | default 30 }}
128
+ periodSeconds : {{ .Values.deployment.probes.startup.period_seconds | int | default 10 }}
129
129
env :
130
130
- name : ACTIVE_NAMESPACE
131
131
valueFrom :
Original file line number Diff line number Diff line change @@ -69,6 +69,17 @@ deployment:
69
69
pod_annotations : {}
70
70
pod_labels : {}
71
71
priority_class_name : " "
72
+ probes :
73
+ liveness :
74
+ initial_delay_seconds : 5
75
+ period_seconds : 30
76
+ readiness :
77
+ initial_delay_seconds : 5
78
+ period_seconds : 30
79
+ startup :
80
+ failure_threshold : 6
81
+ initial_delay_seconds : 30
82
+ period_seconds : 10
72
83
remote_cluster_resources_only : false
73
84
# if deployment.hpa is defined, this replicas setting will be ignored
74
85
replicas : 1
You can’t perform that action at this time.
0 commit comments