A Prometheus exporter for Consul metrics.
This chart creates a Consul Exporter deployment on a Kubernetes cluster using the Helm package manager.
- Kubernetes 1.8+ with Beta APIs enabled
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo update
See helm repo for command documentation.
# Helm 3
$ helm install [RELEASE_NAME] prometheus-community/prometheus-consul-exporter
# Helm 2
$ helm install --name [RELEASE_NAME] prometheus-community/prometheus-consul-exporter
See configuration below.
See helm install for command documentation.
# Helm 3
$ helm uninstall [RELEASE_NAME]
# Helm 2
# helm delete --purge [RELEASE_NAME]
This removes all the Kubernetes components associated with the chart and deletes the release.
See helm uninstall for command documentation.
# Helm 3 or 2
$ helm upgrade [RELEASE_NAME] [CHART] --install
See helm upgrade for command documentation.
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 2
$ helm inspect values prometheus-community/prometheus-consul-exporter
# Helm 3
$ helm show values prometheus-community/prometheus-consul-exporter
Set consulServer
to [MY_CONSUL_HOST]:[MY_CONSUL_PORT]
.
Check the Flags list and add to the options
block in your value overrides.