* [stable/telegraf] Configurable service account By default the telegraf service runs with the default RBAC permissions this PR adds the option to create a service account with configurable rules. Signed-off-by: Cees-Jan Kiewiet <ceesjank@gmail.com> * [stable/telegraf] Move RBAD flag one level up Co-Authored-By: Naseem <naseemkullah@gmail.com> Signed-off-by: Cees-Jan Kiewiet <ceesjank@gmail.com> * [stable/telegraf] Align templates with charts Signed-off-by: Cees-Jan Kiewiet <ceesjank@gmail.com> * [stable/telegraf] Update RBAC deployment conditional Signed-off-by: Cees-Jan Kiewiet <ceesjank@gmail.com> * [stable/telegraf] Make role and binding kind configurable Signed-off-by: Cees-Jan Kiewiet <ceesjank@gmail.com> * [stable/telegraf] Move comments about values Signed-off-by: Cees-Jan Kiewiet <ceesjank@gmail.com> * [stable/telegraf] Simplify (cluster)role values Signed-off-by: Cees-Jan Kiewiet <ceesjank@gmail.com> * [stable/telegraf] prometheus input rules example Signed-off-by: Cees-Jan Kiewiet <ceesjank@gmail.com> * [stable/telegraf] Applied @naseemkullah suggestions Signed-off-by: Cees-Jan Kiewiet <ceesjank@gmail.com> * [stable/telegraf] Corrected bad copy pasta Signed-off-by: Cees-Jan Kiewiet <ceesjank@gmail.com> Co-authored-by: Naseem <naseemkullah@gmail.com>
Telegraf
Telegraf is a plugin-driven server agent written by the folks over at InfluxData for collecting & reporting metrics.
TL;DR
$ helm install stable/telegraf
Introduction
This chart bootstraps a telegraf deployment on a Kubernetes cluster using the Helm package manager.
Prerequisites
- Kubernetes 1.4+ with Beta APIs enabled
Installing the Chart
To install the chart with the release name telegraf:
$ helm install --name telegraf --namespace monitoring stable/telegraf
The command deploys Telegraf on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.
Tip
: List all releases using
helm list
Uninstalling the Chart
To uninstall/delete the telegraf deployment:
$ helm delete telegraf
The command removes all the Kubernetes components associated with the chart and deletes the release.
Configuration
The default configuration parameters are listed in values.yaml.
$ helm install --name telegraf stable/telegraf
Outputs and inputs are configured as arrays of key/value dictionaries. Additional examples and defaults can be found in values.yaml Example:
outputs:
- influxdb:
urls: []
# - "http://influxdb.monitoring:8086"
database: "telegraf"
inputs:
- cpu:
percpu: false
totalcpu: true
- system:
Tip
: You can use the default values.yaml
Please see https://github.com/influxdata/telegraf/tree/master/plugins/ and checkout the contents of the inputs and outputs folders.