feat(helm): support topology spread constraints for webapp (#2560)
* feat(helm): support topology spread constraints * chore(helm): update topology env var Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * chore(helm): limit spread constraints to webapp for now --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
@@ -2,7 +2,7 @@ apiVersion: v2
|
||||
name: trigger
|
||||
description: The official Trigger.dev Helm chart
|
||||
type: application
|
||||
version: 4.0.1
|
||||
version: 4.0.2
|
||||
appVersion: v4.0.4
|
||||
home: https://trigger.dev
|
||||
sources:
|
||||
|
||||
@@ -419,6 +419,10 @@ spec:
|
||||
tolerations:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.webapp.topologySpreadConstraints }}
|
||||
topologySpreadConstraints:
|
||||
{{- tpl (toYaml .) $ | nindent 8 }}
|
||||
{{- end }}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
|
||||
@@ -69,6 +69,8 @@ webapp:
|
||||
nodeSelector: {}
|
||||
tolerations: []
|
||||
affinity: {}
|
||||
# Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
|
||||
topologySpreadConstraints: []
|
||||
|
||||
logLevel: "info"
|
||||
gracefulShutdownTimeout: 1000
|
||||
|
||||
Reference in New Issue
Block a user