diff --git a/charts/prometheus-blackbox-exporter/Chart.yaml b/charts/prometheus-blackbox-exporter/Chart.yaml index fbc617f..4f9b6a3 100644 --- a/charts/prometheus-blackbox-exporter/Chart.yaml +++ b/charts/prometheus-blackbox-exporter/Chart.yaml @@ -1,16 +1,16 @@ -apiVersion: v1 -description: Prometheus Blackbox Exporter -name: prometheus-blackbox-exporter -version: 1.0.1 -appVersion: 0.16.0 -home: https://github.com/prometheus/blackbox_exporter -sources: - - https://github.com/prometheus/blackbox_exporter - - https://github.com/ckotzbauer/helm-charts -keywords: - - prometheus - - blackbox - - monitoring -maintainers: - - name: ckotzbauer - email: christian.kotzbauer@gmail.com +apiVersion: v1 +description: Prometheus Blackbox Exporter +name: prometheus-blackbox-exporter +version: 1.0.2 +appVersion: 0.17.0 +home: https://github.com/prometheus/blackbox_exporter +sources: + - https://github.com/prometheus/blackbox_exporter + - https://github.com/ckotzbauer/helm-charts +keywords: + - prometheus + - blackbox + - monitoring +maintainers: + - name: ckotzbauer + email: christian.kotzbauer@gmail.com diff --git a/charts/prometheus-blackbox-exporter/README.md b/charts/prometheus-blackbox-exporter/README.md index 1486d1f..3182c5a 100644 --- a/charts/prometheus-blackbox-exporter/README.md +++ b/charts/prometheus-blackbox-exporter/README.md @@ -1,93 +1,93 @@ -# Prometheus Blackbox Exporter - -Prometheus exporter for blackbox testing - -Learn more: [https://github.com/prometheus/blackbox_exporter](https://github.com/prometheus/blackbox_exporter) - -## TL;DR; - -```bash -$ helm install ckotzbauer/prometheus-blackbox-exporter -``` - -## Introduction - -This chart creates a Blackbox-Exporter deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager. - -## Prerequisites - -- Kubernetes 1.14+ with Beta APIs enabled - -## Installing the Chart - -To install the chart with the release name `my-release`: - -```bash -$ helm install --name my-release ckotzbauer/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. - -## Uninstalling the Chart - -To uninstall/delete the `my-release` deployment: - -```bash -$ helm delete my-release -``` -The command removes all the Kubernetes components associated with the chart and deletes the release. - -## Configuration - -The following table lists the configurable parameters of the Blackbox-Exporter chart and their default values. - -| Parameter | Description | Default | -| -------------------------------------- | ------------------------------------------------- | ----------------------------- | -| `config` | Prometheus blackbox configuration | {} | -| `secretConfig` | Whether to treat blackbox configuration as secret | `false` | -| `extraArgs` | Optional flags for blackbox | `[]` | -| `extraConfigmapMounts` | Additional configmap mounts | `[]` | -| `extraSecretMounts` | Additional secret mounts | `[]` | -| `image.repository` | container image repository | `prom/blackbox-exporter` | -| `image.tag` | container image tag | `v0.15.1` | -| `image.pullPolicy` | container image pull policy | `IfNotPresent` | -| `image.pullSecrets` | container image pull secrets | `[]` | -| `ingress.annotations` | Ingress annotations | None | -| `ingress.enabled` | Enables Ingress | `false` | -| `ingress.hosts` | Ingress accepted hostnames | None | -| `ingress.tls` | Ingress TLS configuration | None | -| `nodeSelector` | node labels for pod assignment | `{}` | -| `runAsUser` | User to run blackbox-exporter container as | `1000` | -| `readOnlyRootFilesystem` | Set blackbox-exporter file-system to read-only | `true` | -| `runAsNonRoot` | Run blackbox-exporter as non-root | `true` | -| `tolerations` | node tolerations for pod assignment | `[]` | -| `affinity` | node affinity for pod assignment | `{}` | -| `podAnnotations` | annotations to add to each pod | `{}` | -| `podDisruptionBudget` | pod disruption budget | `{}` | -| `priorityClassName` | priority class name | None | -| `resources` | pod resource requests & limits | `{}` | -| `restartPolicy` | container restart policy | `Always` | -| `service.annotations` | annotations for the service | `{}` | -| `service.labels` | additional labels for the service | None | -| `service.type` | type of service to create | `ClusterIP` | -| `service.port` | port for the blackbox http service | `9115` | -| `service.externalIPs` | list of external ips | [] | -| `serviceMonitors` | ServiceMonitor CRDs to create for prometheus operator | `[]` | -| `strategy` | strategy used to replace old Pods with new ones | `{"rollingUpdate":{"maxSurge":1,"maxUnavailable":0},"type":"RollingUpdate"}` | - -Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example, - -```bash -$ helm install --name my-release \ - --set key_1=value_1,key_2=value_2 \ - ckotzbauer/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 ckotzbauer/prometheus-blackbox-exporter -``` - -> **Tip**: You can use the default [values.yaml](values.yaml) +# Prometheus Blackbox Exporter + +Prometheus exporter for blackbox testing + +Learn more: [https://github.com/prometheus/blackbox_exporter](https://github.com/prometheus/blackbox_exporter) + +## TL;DR; + +```bash +$ helm install ckotzbauer/prometheus-blackbox-exporter +``` + +## Introduction + +This chart creates a Blackbox-Exporter deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager. + +## Prerequisites + +- Kubernetes 1.14+ with Beta APIs enabled + +## Installing the Chart + +To install the chart with the release name `my-release`: + +```bash +$ helm install --name my-release ckotzbauer/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. + +## Uninstalling the Chart + +To uninstall/delete the `my-release` deployment: + +```bash +$ helm delete my-release +``` +The command removes all the Kubernetes components associated with the chart and deletes the release. + +## Configuration + +The following table lists the configurable parameters of the Blackbox-Exporter chart and their default values. + +| Parameter | Description | Default | +| -------------------------------------- | ------------------------------------------------- | ----------------------------- | +| `config` | Prometheus blackbox configuration | {} | +| `secretConfig` | Whether to treat blackbox configuration as secret | `false` | +| `extraArgs` | Optional flags for blackbox | `[]` | +| `extraConfigmapMounts` | Additional configmap mounts | `[]` | +| `extraSecretMounts` | Additional secret mounts | `[]` | +| `image.repository` | container image repository | `prom/blackbox-exporter` | +| `image.tag` | container image tag | `v0.17.0` | +| `image.pullPolicy` | container image pull policy | `IfNotPresent` | +| `image.pullSecrets` | container image pull secrets | `[]` | +| `ingress.annotations` | Ingress annotations | None | +| `ingress.enabled` | Enables Ingress | `false` | +| `ingress.hosts` | Ingress accepted hostnames | None | +| `ingress.tls` | Ingress TLS configuration | None | +| `nodeSelector` | node labels for pod assignment | `{}` | +| `runAsUser` | User to run blackbox-exporter container as | `1000` | +| `readOnlyRootFilesystem` | Set blackbox-exporter file-system to read-only | `true` | +| `runAsNonRoot` | Run blackbox-exporter as non-root | `true` | +| `tolerations` | node tolerations for pod assignment | `[]` | +| `affinity` | node affinity for pod assignment | `{}` | +| `podAnnotations` | annotations to add to each pod | `{}` | +| `podDisruptionBudget` | pod disruption budget | `{}` | +| `priorityClassName` | priority class name | None | +| `resources` | pod resource requests & limits | `{}` | +| `restartPolicy` | container restart policy | `Always` | +| `service.annotations` | annotations for the service | `{}` | +| `service.labels` | additional labels for the service | None | +| `service.type` | type of service to create | `ClusterIP` | +| `service.port` | port for the blackbox http service | `9115` | +| `service.externalIPs` | list of external ips | [] | +| `serviceMonitors` | ServiceMonitor CRDs to create for prometheus operator | `[]` | +| `strategy` | strategy used to replace old Pods with new ones | `{"rollingUpdate":{"maxSurge":1,"maxUnavailable":0},"type":"RollingUpdate"}` | + +Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example, + +```bash +$ helm install --name my-release \ + --set key_1=value_1,key_2=value_2 \ + ckotzbauer/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 ckotzbauer/prometheus-blackbox-exporter +``` + +> **Tip**: You can use the default [values.yaml](values.yaml) diff --git a/charts/prometheus-blackbox-exporter/values.yaml b/charts/prometheus-blackbox-exporter/values.yaml index 26ab933..e46cb08 100644 --- a/charts/prometheus-blackbox-exporter/values.yaml +++ b/charts/prometheus-blackbox-exporter/values.yaml @@ -11,13 +11,12 @@ strategy: image: repository: prom/blackbox-exporter - tag: v0.16.0 + tag: v0.17.0 pullPolicy: IfNotPresent ## Optionally specify an array of imagePullSecrets. ## Secrets must be manually created in the namespace. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ - ## # pullSecrets: # - myRegistrKeySecretName @@ -98,7 +97,6 @@ replicas: 1 serviceMonitors: [] ## If any, ServiceMonitor CRDs are created for a prometheus operator ## https://github.com/coreos/prometheus-operator - ## ## - name: example-com ## labels: {} ## interval: 30s