Skip to content

Commit 9eab8d9

Browse files
lindheegabancho
authored andcommitted
values: Add nodeSlector and tolerations to flower
1 parent 1bb767a commit 9eab8d9

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

charts/invenio/templates/flower/deployment.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,14 @@ spec:
6969
seccompProfile:
7070
type: "RuntimeDefault"
7171
{{- end }}
72+
{{- with .Values.flower.nodeSelector }}
73+
nodeSelector:
74+
{{- tpl (toYaml .) $ | nindent 8 -}}
75+
{{- end }}
76+
{{- with .Values.flower.tolerations }}
77+
tolerations:
78+
{{- tpl (toYaml .) $ | nindent 8 -}}
79+
{{- end }}
7280
volumes:
7381
- name: celery-config-volume
7482
configMap:

charts/invenio/values.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,14 @@ flower:
426426
# name: foo
427427
# - configMapRef:
428428
# name: bar
429+
## @param flower.nodeSelector Node labels for flower pods assignment
430+
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
431+
##
432+
nodeSelector: {}
433+
## @param flower.tolerations Tolerations for flower pods assignment
434+
## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
435+
##
436+
tolerations: []
429437

430438
postgresql:
431439
enabled: true

0 commit comments

Comments
 (0)