Commit 023d5b3 1 parent c1e4f4c commit 023d5b3 Copy full SHA for 023d5b3
File tree 5 files changed +35
-0
lines changed
5 files changed +35
-0
lines changed Original file line number Diff line number Diff line change 38
38
containerPort : {{ .Values.services.editoast.service.port }}
39
39
protocol : TCP
40
40
41
+ {{- if not .Values.services.editoast.livenessProbe.disabled }}
41
42
livenessProbe :
42
43
exec :
43
44
command :
@@ -47,11 +48,14 @@ spec:
47
48
initialDelaySeconds : {{ .Values.services.editoast.livenessProbe.initialDelaySeconds }}
48
49
periodSeconds : {{ .Values.services.editoast.livenessProbe.periodSeconds }}
49
50
timeoutSeconds : {{ .Values.services.editoast.livenessProbe.timeoutSeconds }}
51
+ {{- end }}
50
52
53
+ {{- if not .Values.services.editoast.readinessProbe.disabled }}
51
54
readinessProbe :
52
55
httpGet :
53
56
path : /health
54
57
port : http
58
+ {{- end }}
55
59
56
60
env :
57
61
- name : EDITOAST_PORT
Original file line number Diff line number Diff line change @@ -50,14 +50,21 @@ spec:
50
50
{{- with (.Values.services.gateway.volumeMounts | default list) }}
51
51
{{- toYaml . | nindent 12 }}
52
52
{{- end }}
53
+
54
+ {{- if not .Values.services.gateway.livenessProbe.disabled }}
53
55
livenessProbe :
54
56
httpGet :
55
57
path : /health
56
58
port : http
59
+ {{- end }}
60
+
61
+ {{- if not .Values.services.gateway.readinessProbe.disabled }}
57
62
readinessProbe :
58
63
httpGet :
59
64
path : /health
60
65
port : http
66
+ {{- end }}
67
+
61
68
env :
62
69
{{- with .Values.services.gateway.env }}
63
70
{{- toYaml . | nindent 12 }}
Original file line number Diff line number Diff line change @@ -46,14 +46,21 @@ spec:
46
46
{{- with (.Values.services.osrdyne.volumeMounts | default list) }}
47
47
{{- toYaml . | nindent 12 }}
48
48
{{- end }}
49
+
50
+ {{- if not .Values.services.osrdyne.livenessProbe.disabled }}
49
51
livenessProbe :
50
52
httpGet :
51
53
path : /health
52
54
port : http
55
+ {{- end }}
56
+
57
+ {{- if not .Values.services.osrdyne.readinessProbe.disabled }}
53
58
readinessProbe :
54
59
httpGet :
55
60
path : /health
56
61
port : http
62
+ {{- end }}
63
+
57
64
env :
58
65
- name : OSRDYNE__AMQP_URI
59
66
{{- $amqp := .Values.endpoints.amqp }}
Original file line number Diff line number Diff line change @@ -38,18 +38,22 @@ spec:
38
38
containerPort : {{ .Values.services.tileServer.service.port }}
39
39
protocol : TCP
40
40
41
+ {{- if not .Values.services.osrdyne.tileServer.disabled }}
41
42
livenessProbe :
42
43
httpGet :
43
44
path : /health
44
45
port : http
45
46
initialDelaySeconds : {{ .Values.services.tileServer.livenessProbe.initialDelaySeconds }}
46
47
periodSeconds : {{ .Values.services.tileServer.livenessProbe.periodSeconds }}
47
48
timeoutSeconds : {{ .Values.services.tileServer.livenessProbe.timeoutSeconds }}
49
+ {{- end }}
48
50
51
+ {{- if not .Values.services.tileServer.readinessProbe.disabled }}
49
52
readinessProbe :
50
53
httpGet :
51
54
path : /health
52
55
port : http
56
+ {{- end }}
53
57
54
58
env :
55
59
- name : EDITOAST_PORT
Original file line number Diff line number Diff line change @@ -39,9 +39,12 @@ services:
39
39
port : 80
40
40
targetPort : 80
41
41
livenessProbe :
42
+ disabled : false
42
43
initialDelaySeconds : 5
43
44
periodSeconds : 60
44
45
timeoutSeconds : 20
46
+ readinessProbe :
47
+ disabled : false
45
48
config :
46
49
pool_id : " core"
47
50
api_address : " 0.0.0.0:80"
@@ -92,9 +95,12 @@ services:
92
95
port : 80
93
96
targetPort : 80
94
97
livenessProbe :
98
+ disabled : false
95
99
initialDelaySeconds : 0
96
100
periodSeconds : 10
97
101
timeoutSeconds : 1
102
+ readinessProbe :
103
+ disabled : false
98
104
hpa :
99
105
enabled : false
100
106
minReplicas : 1
@@ -138,6 +144,10 @@ services:
138
144
- " 10.0.0.0/8"
139
145
- " 172.16.0.0/12"
140
146
- " 192.168.0.0/16"
147
+ livenessProbe :
148
+ disabled : false
149
+ readinessProbe :
150
+ disabled : false
141
151
annotations : {}
142
152
labels : {}
143
153
nodeSelector : {}
@@ -156,9 +166,12 @@ services:
156
166
port : 80
157
167
targetPort : 80
158
168
livenessProbe :
169
+ disabled : false
159
170
initialDelaySeconds : 0
160
171
periodSeconds : 10
161
172
timeoutSeconds : 1
173
+ readinessProbe :
174
+ disabled : false
162
175
annotations : {}
163
176
init :
164
177
enabled : true
You can’t perform that action at this time.
0 commit comments