File tree 4 files changed +54
-0
lines changed
4 files changed +54
-0
lines changed Original file line number Diff line number Diff line change 17
17
app.kubernetes.io/component : web
18
18
spec :
19
19
terminationGracePeriodSeconds : {{ .Values.web.terminationGracePeriodSeconds }}
20
+ {{- with .Values.web.nodeSelector }}
21
+ nodeSelector :
22
+ {{- tpl (toYaml .) $ | nindent 8 -}}
23
+ {{- end }}
24
+ {{- with .Values.web.tolerations }}
25
+ tolerations :
26
+ {{- tpl (toYaml .) $ | nindent 8 -}}
27
+ {{- end }}
20
28
containers :
21
29
- name : web
22
30
image : {{ required "Missing .Values.web.image" .Values.web.image }}
Original file line number Diff line number Diff line change 16
16
labels :
17
17
app.kubernetes.io/component : worker-beat
18
18
spec :
19
+ {{- with .Values.workerBeat.nodeSelector }}
20
+ nodeSelector :
21
+ {{- tpl (toYaml .) $ | nindent 8 -}}
22
+ {{- end }}
23
+ {{- with .Values.workerBeat.tolerations }}
24
+ tolerations :
25
+ {{- tpl (toYaml .) $ | nindent 8 -}}
26
+ {{- end }}
19
27
containers :
20
28
- name : worker-beat
21
29
image : {{ required "Missing .Values.worker.image" .Values.worker.image }}
Original file line number Diff line number Diff line change 16
16
labels :
17
17
app.kubernetes.io/component : worker
18
18
spec :
19
+ {{- with .Values.worker.nodeSelector }}
20
+ nodeSelector :
21
+ {{- tpl (toYaml .) $ | nindent 8 -}}
22
+ {{- end }}
23
+ {{- with .Values.worker.tolerations }}
24
+ tolerations :
25
+ {{- tpl (toYaml .) $ | nindent 8 -}}
26
+ {{- end }}
19
27
containers :
20
28
- name : worker
21
29
image : {{ required "Missing .Values.worker.image" .Values.worker.image }}
Original file line number Diff line number Diff line change @@ -223,8 +223,22 @@ web:
223
223
capabilities :
224
224
drop :
225
225
- ALL
226
+ # # @param web.annotations Add extra annotations to the web pods
227
+ # #
226
228
annotations : []
229
+ # # @param web.nodeSelector Node labels for web pods assignment
230
+ # # Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
231
+ # #
232
+ nodeSelector : {}
233
+ # # @param web.tolerations Tolerations for web pods assignment
234
+ # # Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
235
+ # #
236
+ tolerations : []
237
+ # # Invenio web service parameters
238
+ # #
227
239
service :
240
+ # # @param service.type web service type
241
+ # #
228
242
type : ClusterIP
229
243
# # @param web.podSecurityContext securityContext for the web pod
230
244
# #
@@ -294,6 +308,14 @@ worker:
294
308
# name: foo
295
309
# - configMapRef:
296
310
# name: bar
311
+ # # @param worker.nodeSelector Node labels for worker pods assignment
312
+ # # Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
313
+ # #
314
+ nodeSelector : {}
315
+ # # @param worker.tolerations Tolerations for worker pods assignment
316
+ # # Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
317
+ # #
318
+ tolerations : []
297
319
298
320
workerBeat :
299
321
# # @param workerBeat.extraEnvVars Extra environment variables (templated) to be added to the pods.
@@ -328,6 +350,14 @@ workerBeat:
328
350
# name: foo
329
351
# - configMapRef:
330
352
# name: bar
353
+ # # @param workerBeat.nodeSelector Node labels for workerBeat pods assignment
354
+ # # Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
355
+ # #
356
+ nodeSelector : {}
357
+ # # @param workerBeat.tolerations Tolerations for workerBeat pods assignment
358
+ # # Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
359
+ # #
360
+ tolerations : []
331
361
332
362
persistence :
333
363
enabled : true
You can’t perform that action at this time.
0 commit comments