跳转至

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

Get Repository Info

helm repo add prometheus-community https://helm-charts.itboon.top/prometheus-community
helm repo update

See helm repo for command documentation.

Install Chart

helm install [RELEASE_NAME] prometheus-community/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 prometheus-community/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.