speedtest
by lbenicio
Internet performance exporter (speedtest, fast.com)
About this chart
speedtest
Prometheus exporter for internet performance metrics — runs periodic speed tests via speedtest.net and fast.com.
TL;DR
helm repo add lbenicio-community https://helm.lbenicio.dev/
helm install my-release lbenicio-community/speedtest
Introduction
This chart deploys d0ugal/internet-perf-exporter, a Prometheus exporter that periodically measures internet connection speed (download, upload, latency) and exposes the results as Prometheus metrics on /metrics.
Prerequisites
- Kubernetes 1.19+
- Helm 3.x+
Installing the Chart
helm install my-release lbenicio-community/speedtest --namespace default
Parameters
| Key | Type | Default | Description |
|---|---|---|---|
image.repository | string | ghcr.io/d0ugal/internet-perf-exporter | Container image repository |
image.tag | string | "" | Image tag (defaults to Chart.appVersion) |
image.pullPolicy | string | IfNotPresent | Image pull policy |
replicaCount | int | 1 | Number of replicas |
service.type | string | ClusterIP | Service type |
service.port | int | 8080 | Service port |
service.portName | string | metrics | Service port name |
keel.enabled | bool | true | Enable Keel auto-update annotations |
keel.policy | string | minor | Keel update policy |
keel.trigger | string | poll | Keel trigger type |
keel.pollSchedule | string | @every 24h | Keel poll schedule |
podAnnotations | object | prometheus.io/scrape: "true" | Pod annotations for Prometheus auto-discovery |
resources.requests.cpu | string | 50m | CPU request |
resources.requests.memory | string | 64Mi | Memory request |
resources.limits.cpu | string | 100m | CPU limit |
resources.limits.memory | string | 128Mi | Memory limit |
autoscaling.enabled | bool | false | Enable HPA |
ingress.enabled | bool | false | Enable ingress |
Prometheus Metrics
The exporter exposes metrics on port 8080 at /metrics. By default, the chart includes pod annotations for Prometheus auto-discovery:
podAnnotations:
prometheus.io/scrape: "true"
prometheus.io/port: "8080"
prometheus.io/path: "/metrics"
Keel Auto-Update
This chart enables Keel by default for automatic minor version updates:
keel:
enabled: true
policy: minor
trigger: poll
pollSchedule: "@every 24h"
License
This chart is licensed under GPLv3.
Made with ❤️ by lbenicio
Deploy speedtest with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has speedtest on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartspeedtest is pinned at v0.1.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply