Unverified Commit 72985e9b authored by Sean Fitts's avatar Sean Fitts Committed by GitHub

Add support for affinity to telegraf-ds (#167)

Fixes #166 Add node selector as well Remove IntelliJ entry
parent ee6256e9
apiVersion: v1
name: telegraf-ds
version: 1.0.13
version: 1.0.14
appVersion: 1.14
deprecated: false
description: Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics.
......
......@@ -50,10 +50,18 @@ spec:
mountPath: /var/run/docker.sock
- name: config
mountPath: /etc/telegraf
{{- with .Values.tolerations }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{ toYaml . | indent 8 }}
{{- end }}
{{- with .Values.affinity }}
affinity:
{{ toYaml . | indent 8 }}
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{ toYaml . | indent 8 }}
{{- end }}
{{- end }}
volumes:
- name: sysro
hostPath:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment