diff --git a/README.md b/README.md index 43fa5a1..032d7f5 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ![](teaser.jpg) -This repository enables prometheus scrapping of dockerhub rate limits by providing a ready to use docker image and helm chart. +This repository enables prometheus scraping of dockerhub rate limits by providing a ready to use docker image and helm chart. You can find more background information in this blog post: https://blog.viadee.de/en/monitoring-the-docker-hub-rate-limit-with-prometheus @@ -27,9 +27,9 @@ If your kubernetes cluster does not authenticate with dockerhub you don't need t 2. Fill in the variables `config.dockerhub.username` and `config.dockerhub.password`. It is recommended to use a dockerhub access token for the password. 3. Run `helm upgrade viadee/docker-hub-rate-limit-exporter --install --namespace= -f ` -## How to tell prometheus to scrap the metrics +## How to tell prometheus to scrape the metrics -We recommend you to use the prometheus kubernetes operator to run prometheus in your cluster (see: https://github.com/prometheus-operator/prometheus-operator). If you run the operator you can create a `ServiceMonitor` resource to tell prometheus how to scrap the docker-hub-rate-limit-exporter. To do so follow the steps below: +We recommend you to use the prometheus kubernetes operator to run prometheus in your cluster (see: https://github.com/prometheus-operator/prometheus-operator). If you run the operator you can create a `ServiceMonitor` resource to tell prometheus how to scrape the docker-hub-rate-limit-exporter. To do so follow the steps below: 1. Create a helm value file as per the example in this repository or use the value file from above (see: chart/values.yaml) 2. Set the variable `serviceMonitor.enabled` to true @@ -37,7 +37,7 @@ We recommend you to use the prometheus kubernetes operator to run prometheus in 4. Alternatively, you might have configured the Prometheus Operator to consider all `ServiceMonitors` in a specific namespace. In that case you can set the `serviceMonitor.namespace` option to deploy the `ServiceMonitor` resource in that namespace. 5. Run `helm upgrade viadee/docker-hub-rate-limit-exporter --install --namespace= -f ` -If you are not using the prometheus kubernetes operator you would need to configure prometheus manually to scrap the metrics. +If you are not using the prometheus kubernetes operator you would need to configure prometheus manually to scrape the metrics. ## Collaboration