speedtest

by lbenicio

Helm chartv0.1.0App v0.2.91Verified publisher

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

KeyTypeDefaultDescription
image.repositorystringghcr.io/d0ugal/internet-perf-exporterContainer image repository
image.tagstring""Image tag (defaults to Chart.appVersion)
image.pullPolicystringIfNotPresentImage pull policy
replicaCountint1Number of replicas
service.typestringClusterIPService type
service.portint8080Service port
service.portNamestringmetricsService port name
keel.enabledbooltrueEnable Keel auto-update annotations
keel.policystringminorKeel update policy
keel.triggerstringpollKeel trigger type
keel.pollSchedulestring@every 24hKeel poll schedule
podAnnotationsobjectprometheus.io/scrape: "true"Pod annotations for Prometheus auto-discovery
resources.requests.cpustring50mCPU request
resources.requests.memorystring64MiMemory request
resources.limits.cpustring100mCPU limit
resources.limits.memorystring128MiMemory limit
autoscaling.enabledboolfalseEnable HPA
ingress.enabledboolfalseEnable 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartspeedtest is pinned at v0.1.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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