ping

by lbenicio

Helm chartv0.1.1App v0.28.0Verified publisher

Blackbox exporter for probing endpoints

About this chart

ping

A Helm chart for the Prometheus Blackbox Exporter, which probes endpoints over HTTP, HTTPS, DNS, TCP, and ICMP.

TL;DR

helm repo add lbenicio-community https://helm.lbenicio.dev/
helm install my-release lbenicio-community/ping

Introduction

This chart deploys the Prometheus Blackbox Exporter, a probe-based monitoring tool that allows Prometheus to monitor external endpoints through blackbox probing. It ships with pre-configured modules for HTTP, HTTPS, TCP, SSH, POP3S, IRC, and ICMP probing.

Prerequisites

  • Kubernetes 1.19+
  • Helm 3.x+

Installing the Chart

helm install my-release lbenicio-community/ping --namespace default

Parameters

KeyTypeDefaultDescription
image.repositorystringprom/blackbox-exporterContainer image repository
image.tagstring""Image tag (defaults to Chart.appVersion)
image.pullPolicystringIfNotPresentImage pull policy
replicaCountint1Number of replicas
argslist["--config.file=/config/blackbox.yml"]Container arguments
service.typestringClusterIPService type
service.portint9115Service port
config.createbooltrueCreate the ConfigMap for blackbox.yml
config.blackboxYmlstring(see values.yaml)Blackbox exporter module configuration
resources.requests.cpustring100mCPU request
resources.requests.memorystring128MiMemory request
resources.limits.cpustring250mCPU limit
resources.limits.memorystring256MiMemory limit
keel.enabledbooltrueEnable Keel auto-update annotations
keel.policystringminorKeel update policy
keel.triggerstringpollKeel trigger type
keel.pollSchedulestring@every 24hKeel poll schedule
keel.matchTagstringtrueKeel match tag pattern
containerSecurityContext.readOnlyRootFilesystembooltrueMount root filesystem as read-only
containerSecurityContext.runAsNonRootbooltrueRun container as non-root user
containerSecurityContext.runAsUserint65534User ID to run the container

Configuration

blackbox.yml

The chart creates a ConfigMap from config.blackboxYml. Override it to customize the probing modules:

config:
  blackboxYml: |-
    modules:
      http_2xx:
        prober: http
        timeout: 5s
        http:
          valid_http_versions: ["HTTP/1.1", "HTTP/2.0"]
          preferred_ip_protocol: "ip4"

      tcp_connect:
        prober: tcp
        timeout: 5s

      icmp:
        prober: icmp

Refer to the Blackbox Exporter configuration docs for all available modules and options.

License

This chart is licensed under GPLv3.


Made with ❤️ by lbenicio

Deploy ping with OpenTenant

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