Commit a0cb2436 authored by Karl Böhlmark's avatar Karl Böhlmark Committed by GitHub

[stable/telegraf] Add nodeSelector support (#20792)

parent 0e6bec56
apiVersion: v1 apiVersion: v1
name: telegraf name: telegraf
version: 1.5.0 version: 1.6.0
appVersion: 1.12 appVersion: 1.12
deprecated: false deprecated: false
description: Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics. description: Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics.
......
...@@ -58,6 +58,10 @@ spec: ...@@ -58,6 +58,10 @@ spec:
imagePullSecrets: imagePullSecrets:
{{ toYaml .Values.imagePullSecrets | indent 8 }} {{ toYaml .Values.imagePullSecrets | indent 8 }}
{{- end }} {{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
volumes: volumes:
- name: config - name: config
configMap: configMap:
......
...@@ -27,6 +27,10 @@ resources: {} ...@@ -27,6 +27,10 @@ resources: {}
# memory: 128Mi # memory: 128Mi
# cpu: 100m # cpu: 100m
## Node labels for pod assignment
## ref: https://kubernetes.io/docs/user-guide/node-selection/
nodeSelector: {}
service: service:
enabled: true enabled: true
type: ClusterIP type: ClusterIP
......
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