0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2025-04-30 06:54:07 +02:00

Helm Chart - Add configuration for node selector / tolerations / affinity

Signed-off-by: Rhea Danzey <rdanzey@element.io>
This commit is contained in:
Rhea Danzey 2024-09-20 13:02:40 -05:00
parent c914f062e6
commit 3c67ac35ff
No known key found for this signature in database
GPG key ID: BC69166FB2668680
4 changed files with 34 additions and 1 deletions

View file

@ -1,6 +1,6 @@
apiVersion: v2
name: dendrite
version: "0.14.5"
version: "0.14.6"
appVersion: "0.13.8"
description: Dendrite Matrix Homeserver
type: application

View file

@ -113,4 +113,16 @@ spec:
imagePullSecrets:
{{- with .Values.imagePullSecrets }}
{{ . | toYaml | nindent 6 }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}

View file

@ -98,6 +98,18 @@ spec:
volumes:
- name: signing-key
emptyDir: {}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
parallelism: 1
completions: 1
backoffLimit: 1

View file

@ -100,6 +100,15 @@ strategy:
# -- Maximum number of pods that can be scheduled above the desired number of pods
maxSurge: 25%
# -- Node selector configuration
nodeSelector: {}
# -- Tolerations configuration
tolerations: {}
# -- Affinity configuration
affinity: {}
dendrite_config:
version: 2
global: