helm-exporter
Exports helm release stats to prometheus
About this chart
helm-exporter
Installs helm-exporter to export helm stats to prometheus.
TL;DR;
$ helm install <helm-repo>/helm-exporter
$ helm install stable/helm-exporter
Introduction
This chart bootstraps a helm-exporter deployment on a Kubernetes cluster using the Helm package manager.
The chart comes with a ServiceMonitor for use with the Prometheus Operator.
Installing the Chart
To install the chart with the release name my-release:
$ helm install <helm-repo>/helm-exporter --name my-release
$ helm install stable/helm-exporter --name my-release The command deploys helm-exporter on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.
Uninstalling the Chart
To uninstall/delete the my-release deployment:
$ 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 helm-exporter chart and their default values.
| Parameter | Description | Default |
|---|---|---|
affinity | affinity configuration for pod assignment | {} |
image.repository | Image | sstarcher/helm-exporter |
image.tag | Image tag | 0.4.0 |
image.pullPolicy | Image pull policy | IfNotPresent |
tillerNamespaces | To override the default tiller namespace name or to provide the multiple tiller namespaces For example, "kube-system,dev" | "" |
nodeSelector | node labels for pod assignment | {} |
resources | pod resource requests & limits | {} |
tolerations | List of node taints to tolerate (requires Kubernetes 1.6+) | [] |
serviceMonitor.create | Set to true if using the Prometheus Operator | false |
serviceMonitor.interval | Interval at which metrics should be scraped | `` |
serviceMonitor.namespace | The namespace where the Prometheus Operator is deployed | `` |
serviceMonitor.additionalLabels | Additional labels to add to the ServiceMonitor | {} |
$ helm install <helm-repo>/helm-exporter --name my-release
$ helm install stable/helm-exporter --name my-release Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,
$ helm install <helm-repo>/helm-exporter --name my-release -f values.yaml
$ helm install stable/helm-exporter --name my-release -f values.yaml
Tip: You can use the default values.yaml
Deploy helm-exporter with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has helm-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 charthelm-exporter is pinned at v0.2.3 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