mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-06 14:33:10 -06:00
Helm Chart - Add configuration for node selector / tolerations / affinity
Signed-off-by: Rhea Danzey <rdanzey@element.io>
This commit is contained in:
parent
c914f062e6
commit
3c67ac35ff
|
|
@ -1,6 +1,6 @@
|
||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: dendrite
|
name: dendrite
|
||||||
version: "0.14.5"
|
version: "0.14.6"
|
||||||
appVersion: "0.13.8"
|
appVersion: "0.13.8"
|
||||||
description: Dendrite Matrix Homeserver
|
description: Dendrite Matrix Homeserver
|
||||||
type: application
|
type: application
|
||||||
|
|
|
||||||
|
|
@ -113,4 +113,16 @@ spec:
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
{{- with .Values.imagePullSecrets }}
|
{{- with .Values.imagePullSecrets }}
|
||||||
{{ . | toYaml | nindent 6 }}
|
{{ . | 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 }}
|
{{- end }}
|
||||||
|
|
@ -98,6 +98,18 @@ spec:
|
||||||
volumes:
|
volumes:
|
||||||
- name: signing-key
|
- name: signing-key
|
||||||
emptyDir: {}
|
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
|
parallelism: 1
|
||||||
completions: 1
|
completions: 1
|
||||||
backoffLimit: 1
|
backoffLimit: 1
|
||||||
|
|
|
||||||
|
|
@ -100,6 +100,15 @@ strategy:
|
||||||
# -- Maximum number of pods that can be scheduled above the desired number of pods
|
# -- Maximum number of pods that can be scheduled above the desired number of pods
|
||||||
maxSurge: 25%
|
maxSurge: 25%
|
||||||
|
|
||||||
|
# -- Node selector configuration
|
||||||
|
nodeSelector: {}
|
||||||
|
|
||||||
|
# -- Tolerations configuration
|
||||||
|
tolerations: {}
|
||||||
|
|
||||||
|
# -- Affinity configuration
|
||||||
|
affinity: {}
|
||||||
|
|
||||||
dendrite_config:
|
dendrite_config:
|
||||||
version: 2
|
version: 2
|
||||||
global:
|
global:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue