prometheus-nats-exporter
A Helm chart for prometheus-nats-exporter
About this chart
Prometheus NATS Exporter
- Installs prometheus NATS exporter
TL;DR;
$ helm install <helm-repo>/prometheus-nats-exporter
$ helm install incubator/prometheus-nats-exporter
Introduction
This chart bootstraps a prometheus NATS exporter deployment on a Kubernetes cluster using the Helm package manager.
Installing the Chart
To install the chart with the release name my-release:
$ helm install --name my-release <helm-repo>/prometheus-nats-exporter
$ helm install --name my-release incubator/prometheus-nats-exporter The command deploys NATS 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 postgres Exporter chart and their default values.
| Parameter | Description | Default |
|---|---|---|
image | Image | appcelerator/prometheus-nats-exporter |
imageTag | Image tag | 0.17.0 |
imagePullPolicy | Image pull policy | IfNotPresent |
service.type | Service type | ClusterIP |
service.port | The service port | 80 |
service.targetPort | The target port of the container | 8222 |
resources | {} | |
config.nats.service | NATS monitoring service name | nats-nats-monitoring |
config.nats.namespace | Namespace in which NATS deployed | default |
config.nats.port | NATS monitoring service port | 8222 |
tolerations | Add tolerations | [] |
nodeSelector | node labels for pod assignment | {} |
affinity | node/pod affinities | {} |
annotations | Deployment annotations | {} |
extraContainers | Additional sidecar containers | "" |
extraVolumes | Additional volumes for use in extraContainers | "" |
Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
$ helm install --name my-release \
--set config.nats.service=nats-production-nats-monitoring \
<helm-repo>/prometheus-nats-exporter
$ helm install --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 --name my-release -f values.yaml <helm-repo>/prometheus-nats-exporter
Deploy prometheus-nats-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-nats-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-nats-exporter is pinned at v1.0.0 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