docker-hub-rate-limit-exporter

by Wiremind

Helm chartv0.3.0App version-1.5Verified publisher

Export your current docker hub rate limit status to prometheus.

About this chart

docker-hub-rate-limit-exporter Helm Chart

How to install the chart

The helm chart can be installed through a helm chart repository hosted on a github page in this repository. To install follow the next steps:

  1. run helm repo add viadee https://viadee.github.io/docker-hub-rate-limit-exporter
  2. run helm install <release-name> viadee/docker-hub-rate-limit-exporter

Uninstalling the Chart

To uninstall/delete the my-release deployment:

helm delete my-release

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

Configuration

ParameterDescriptionDefault
config.exporterPortPort the deployment exposes80
config.exporterVerbosityLoglevel of the deployment1
config.dockerhubUsernameTo authenticate with dockerhubnil
config.dockerhubPasswordTo authenticate with dockerhub (use access token)nil
serviceMonitor.enabledIf true, creates a ServiceMonitor instancefalse
serviceMonitor.additionalLabelsConfigure additional labels for the servicemonitor{}
serviceMonitor.namespaceThe namespace into which the servicemonitor is deployed. If not set, will the same as the namespace of this chartnil
serviceMonitor.intervalThe interval with which prometheus will scrape30s
serviceMonitor.scrapeTimeoutThe timeout for the scrape request10s

Attribution

Deploy docker-hub-rate-limit-exporter with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has docker-hub-rate-limit-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 chartdocker-hub-rate-limit-exporter is pinned at v0.3.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