prometheus-consul-exporter
by Prometheus
A Helm chart for the Prometheus Consul Exporter
About this chart
Prometheus Consul Exporter
A Prometheus exporter for Consul metrics.
This chart creates a Consul Exporter deployment on a Kubernetes cluster using the Helm package manager.
Prerequisites
- Kubernetes 1.9+ with Beta APIs enabled
- Helm 3
Usage
The chart is distributed as an OCI Artifact as well as via a traditional Helm Repository.
- OCI Artifact:
oci://ghcr.io/prometheus-community/charts/prometheus-consul-exporter - Helm Repository:
https://prometheus-community.github.io/helm-chartswith chartprometheus-consul-exporter
The installation instructions use the OCI registry. Refer to the [helm repo](helm repo) command documentation for information on installing charts via the traditional repository.
Install Chart
helm install [RELEASE_NAME] oci://ghcr.io/prometheus-community/charts/prometheus-consul-exporter
See configuration below.
See helm install for command documentation.
Uninstall Chart
helm uninstall [RELEASE_NAME]
This removes all the Kubernetes components associated with the chart and deletes the release.
See helm uninstall for command documentation.
Upgrading Chart
helm upgrade [RELEASE_NAME] [CHART] --install
See helm upgrade for command documentation.
From 0.5.x to 1.0.0
Helm apiVersion has been increased to v2 in version 1.0.0. As a result, Helm v3 is required to install the chart. Please, see notes on migration from Helm v2 to Helm v3.
Configuration
See Customizing the Chart Before Installing. To see all configurable options with detailed comments, visit the chart's values.yaml, or run these configuration commands:
helm show values oci://ghcr.io/prometheus-community/charts/prometheus-consul-exporter
Consul Server Info
Set consulServer to [MY_CONSUL_HOST]:[MY_CONSUL_PORT].
Flags
Check the Flags list and add to the options block in your value overrides.
Deploy prometheus-consul-exporter with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has prometheus-consul-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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartprometheus-consul-exporter is pinned at v1.1.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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