mtr-exporter

by SickHub

Helm chartv0.0.5App 0.4.0Verified publisher

A Helm chart for an mtr-exporter pod providing metrics.

About this chart

mtr-exporter Helm Chart

A chart that lets you run an mtr-exporter to monitor routes.

Deploy mtr-exporter

Configure exporterJobs in values.yaml to do MTRs regularly with given options to certain destinations.

helm repo add sickhub https://sickhub.github.io/charts
helm repo update
helm search repo sickhub
helm upgrade --create-namespace --namespace test --install --values values.yaml mtr-exporter sickhub/mtr-exporter

Test locally

Lint and template

(cd ..; ct lint --chart-dirs . --charts mtr-exporter)
helm template test . -f ci/test-values.yaml

Test on local k8s

helm upgrade -i mtr-exporter . -f ci/test-values.yaml

Credits

Deploy mtr-exporter with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has mtr-exporter 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 chartmtr-exporter is pinned at v0.0.5 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