From cc7682daf8fd994887916c3149e3239d605e73b9 Mon Sep 17 00:00:00 2001 From: Jack Zampolin Date: Thu, 15 Dec 2016 11:19:47 -0800 Subject: [PATCH] Add note if .Values.daemonset.config.outputs.influxdb.url isn't set --- stable/telegraf/templates/NOTES.txt | 11 +++++++++++ stable/telegraf/values.yaml | 4 ++++ 2 files changed, 15 insertions(+) diff --git a/stable/telegraf/templates/NOTES.txt b/stable/telegraf/templates/NOTES.txt index 26d1881de5..d98cf612e4 100644 --- a/stable/telegraf/templates/NOTES.txt +++ b/stable/telegraf/templates/NOTES.txt @@ -12,3 +12,14 @@ To watch for the LoadBalancer IP run the following - kubectl get svc -w --namespace {{ .Release.Namespace }} -l app={{ template "fullname" . }} {{- end }} + +{{- if empty .Values.single.config.outputs.influxdb.urls }} +{{- if empty .Values.daemonset.config.outputs.influxdb.urls }} + +Need to set an InfluxDB url for either single or daemonset to deploy this instance: + +.Values.daemonset.config.outputs.influxdb.urls +.Values.single.config.outputs.influxdb.urls + +{{- end }} +{{- end }} \ No newline at end of file diff --git a/stable/telegraf/values.yaml b/stable/telegraf/values.yaml index 62693bd453..8e94bef65d 100644 --- a/stable/telegraf/values.yaml +++ b/stable/telegraf/values.yaml @@ -242,6 +242,10 @@ single: ## topic: "telegraf" ## data_format: "influx" inputs: + cpu: + percpu: false + totalcpu: true + system: ## aerospike: ## servers: ## - "localhost:3000"