Files
deprecated-helm-charts/stable/prometheus-postgres-exporter

Prometheus Postgres Exporter

TL;DR;

$ helm install stable/prometheus-postgres-exporter

Introduction

This chart bootstraps a prometheus postgres 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 stable/prometheus-postgres-exporter

The command deploys postgres 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 wrouesnel/postgres_exporter
imageTag Image tag v0.4.6
imagePullPolicy Image pull policy IfNotPresent
service.annotations annotations for the service {}
service.type Service type ClusterIP
service.port The service port 80
service.targetPort The target port of the container 9187
service.name Name of the service port http
service.labels Labels to add to the service {}
resources {}
config.datasource Postgresql datasource configuration
config.queries SQL queries that the exporter will run postgres exporter defaults
config.disableDefaultMetrics Specifies whether to use only metrics from queries.yaml false
rbac.create Specifies whether RBAC resources should be created. true
rbac.pspEnabled Specifies whether a PodSecurityPolicy should be created. true
serviceAccount.create Specifies whether a service account should be created. true
serviceAccount.name Name of the service account.
tolerations Add tolerations []
nodeSelector node labels for pod assignment {}
affinity node/pod affinities {}
annotations Deployment annotations {}
podLabels Additional labels to add to each pod {}
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,

$ helm install --name my-release \
  --set serviceAccount.name=postgres  \
    stable/prometheus-postgres-exporter

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 stable/prometheus-postgres-exporter