charts/speedtest
2018-06-23 21:36:15 -04:00
..
templates modem-stats chart 2018-06-23 21:36:15 -04:00
.helmignore adding speedtest 2018-06-23 18:54:10 -04:00
Chart.yaml adding speedtest 2018-06-23 18:54:10 -04:00
OWNERS adding speedtest 2018-06-23 18:54:10 -04:00
README.md adding speedtest 2018-06-23 18:54:10 -04:00
values.yaml adding speedtest 2018-06-23 18:54:10 -04:00

Speedtest.net Collector For InfluxDB and Grafana

Screenshot

This tool is a wrapper for speedtest-cli which allows you to run periodic speedtets and save the results to Influxdb

TL;DR;

$ helm repo add billimek https://raw.githubusercontent.com/billimek/helm-repo/master
$ helm install billimek/speedtest

Installing the Chart

To install the chart with the release name my-release:

$ helm install --name my-release billimek/speedtest

Uninstalling the Chart

To uninstall/delete the my-release deployment:

$ helm delete my-release --purge

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

The configuration is set as a block of text through a configmap and mouted as a file in /src/config.ini Any value in this text block should match the defined speedtest configuration. There are several values here that will have to match our kubernetes configuration.

Configuration

The following tables lists the configurable parameters of the Sentry chart and their default values.

Parameter Description Default
image.repository speedtest image billimek/speedtestusage-for-influxdb
image.tag speedtest image tag latest
image.pullPolicy speedtest image pull policy IfNotPresent
debug Display debugging output false
config.delay how many seconds to wait between checks 3600
config.influxdb.host InfluxDB hostname influxdb-influxdb
config.influxdb.port InfluxDB port 8086
config.influxdb.database InfluxDB database speedtests
config.influxdb.username InfluxDB username ``
config.influxdb.password InfluxDB password ``
config.influxdb.ssl InfluxDB connection using SSL false
config.speedtest.server server to use for speedtest - leave blank to auto-pick ``

Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,

$ helm install --name my-release \
  --set config.influxdb.host=some-influx-host \
    billimek/speedtest

Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,

$ helm install --name my-release -f values.yaml billimek/speedtest

Read through the values.yaml file. It has several commented out suggested values.