From beed8271e370e5bc187ec7f2d934a1dea1cfd90b Mon Sep 17 00:00:00 2001 From: Giancarlo Rubio Date: Sun, 15 Jul 2018 18:22:55 +0200 Subject: [PATCH] Review readme (#6399) Add config example --- stable/prometheus-blackbox-exporter/Chart.yaml | 2 +- stable/prometheus-blackbox-exporter/OWNERS | 4 ++++ stable/prometheus-blackbox-exporter/README.md | 10 +++++----- stable/prometheus-blackbox-exporter/values.yaml | 17 +++++++++-------- 4 files changed, 19 insertions(+), 14 deletions(-) create mode 100644 stable/prometheus-blackbox-exporter/OWNERS diff --git a/stable/prometheus-blackbox-exporter/Chart.yaml b/stable/prometheus-blackbox-exporter/Chart.yaml index f2cbb47a78..03a807cbb3 100644 --- a/stable/prometheus-blackbox-exporter/Chart.yaml +++ b/stable/prometheus-blackbox-exporter/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 description: Prometheus Blackbox Exporter name: prometheus-blackbox-exporter -version: 0.1.0 +version: 0.1.1 appVersion: 0.12.0 home: https://github.com/prometheus/blackbox_exporter sources: diff --git a/stable/prometheus-blackbox-exporter/OWNERS b/stable/prometheus-blackbox-exporter/OWNERS new file mode 100644 index 0000000000..fe9b2c3d33 --- /dev/null +++ b/stable/prometheus-blackbox-exporter/OWNERS @@ -0,0 +1,4 @@ +approvers: +- gianrubio +reviewers: +- gianrubio \ No newline at end of file diff --git a/stable/prometheus-blackbox-exporter/README.md b/stable/prometheus-blackbox-exporter/README.md index 411e5b745c..c1ccdfa285 100644 --- a/stable/prometheus-blackbox-exporter/README.md +++ b/stable/prometheus-blackbox-exporter/README.md @@ -2,12 +2,12 @@ Prometheus exporter for blackbox testing -Learn more: [https://github.com/prometheus/blackbox_exporter](https://github.com/prometheus/blackbox_exporter]) +Learn more: [https://github.com/prometheus/blackbox_exporter](https://github.com/prometheus/blackbox_exporter) ## TL;DR; ```bash -$ helm install stable/blackbox-exporter +$ helm install stable/prometheus-blackbox-exporter ``` ## Introduction @@ -23,7 +23,7 @@ This chart creates a Blackbox-Exporter deployment on a [Kubernetes](http://kuber To install the chart with the release name `my-release`: ```bash -$ helm install --name my-release stable/blackbox-exporter +$ helm install --name my-release stable/prometheus-blackbox-exporter ``` The command deploys Blackbox Exporter on the Kubernetes cluster using the default configuration. The [configuration](#configuration) section lists the parameters that can be configured during installation. @@ -72,14 +72,14 @@ Specify each parameter using the `--set key=value[,key=value]` argument to `helm ```bash $ helm install --name my-release \ --set key_1=value_1,key_2=value_2 \ - stable/blackbox-exporter + stable/prometheus-blackbox-exporter ``` Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example, ```bash # example for staging -$ helm install --name my-release -f values.yaml stable/blackbox-exporter +$ helm install --name my-release -f values.yaml stable/prometheus-blackbox-exporter ``` > **Tip**: You can use the default [values.yaml](values.yaml) diff --git a/stable/prometheus-blackbox-exporter/values.yaml b/stable/prometheus-blackbox-exporter/values.yaml index a26fdc12fc..55d7de956b 100644 --- a/stable/prometheus-blackbox-exporter/values.yaml +++ b/stable/prometheus-blackbox-exporter/values.yaml @@ -7,14 +7,15 @@ image: nodeSelector: {} -config: {} - # http_2xx: - # prober: http - # timeout: 5s - # http: - # valid_http_versions: ["HTTP/1.1", "HTTP/2"] - # no_follow_redirects: false - # preferred_ip_protocol: "ip4" # defaults to "ip6" +config: + modules: + http_2xx: + prober: http + timeout: 5s + http: + valid_http_versions: ["HTTP/1.1", "HTTP/2"] + no_follow_redirects: false + preferred_ip_protocol: "ip4" resources: # limits: