Sentry add hook pod tolerations (#22648)

Signed-off-by: Kien Bui <doankien.bui@gmail.com>
This commit is contained in:
Kien Bui
2020-06-03 10:44:11 -07:00
committed by GitHub
parent de13551ecb
commit b82916f9bc
5 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
description: Sentry is a cross-platform crash reporting and aggregation platform.
name: sentry
version: 4.2.1
version: 4.2.3
appVersion: 9.1.2
keywords:
- debugging
+1
View File
@@ -194,6 +194,7 @@ Parameter | Description
`metrics.serviceMonitor.interval` | How frequently to scrape metrics (use by default, falling back to Prometheus' default) | `nil`
`metrics.serviceMonitor.selector` | Default to kube-prometheus install (CoreOS recommended), but should be set according to Prometheus install | `{ prometheus: kube-prometheus }`
`hooks.affinity` | Affinity settings for hooks pods | `{}`
`hooks.tolerations` | Toleration labels for hook pod assignment | `[]`
`hooks.dbInit.enabled` | Boolean to enable the dbInit job using a hook | `true`
`hooks.dbInit.resources.limits` | Hook job resource limits | `{memory: 3200Mi}`
`hooks.dbInit.resources.requests` | Hook job resource requests | `{memory: 3000Mi}`
@@ -31,6 +31,10 @@ spec:
{{- with .Values.hooks.affinity }}
affinity:
{{ toYaml . | indent 8 }}
{{- end }}
{{- if .Values.hooks.tolerations }}
tolerations:
{{ toYaml .Values.hooks.tolerations | indent 8 }}
{{- end }}
restartPolicy: Never
{{- if .Values.image.imagePullSecrets }}
@@ -30,6 +30,10 @@ spec:
{{- with .Values.hooks.affinity }}
affinity:
{{ toYaml . | indent 8 }}
{{- end }}
{{- if .Values.hooks.tolerations }}
tolerations:
{{ toYaml .Values.hooks.tolerations | indent 8 }}
{{- end }}
restartPolicy: Never
{{- if .Values.image.imagePullSecrets }}
+1
View File
@@ -315,6 +315,7 @@ metrics:
# Provide affinity for hooks if needed
hooks:
affinity: {}
tolerations: []
dbInit:
enabled: true
resources: