helm-exporter

by joaquinito2051

Helm chartv0.2.3App 0.4.0

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.

ParameterDescriptionDefault
affinityaffinity configuration for pod assignment{}
image.repositoryImagesstarcher/helm-exporter
image.tagImage tag0.4.0
image.pullPolicyImage pull policyIfNotPresent
tillerNamespacesTo override the default tiller namespace name or to provide the multiple tiller namespaces For example, "kube-system,dev"""
nodeSelectornode labels for pod assignment{}
resourcespod resource requests & limits{}
tolerationsList of node taints to tolerate (requires Kubernetes 1.6+)[]
serviceMonitor.createSet to true if using the Prometheus Operatorfalse
serviceMonitor.intervalInterval at which metrics should be scraped``
serviceMonitor.namespaceThe namespace where the Prometheus Operator is deployed``
serviceMonitor.additionalLabelsAdditional 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the charthelm-exporter is pinned at v0.2.3 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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