Prometheus Pushgateway
- Installs prometheus pushgateway
TL;DR;
$ helm install stable/prometheus-pushgateway
Introduction
This chart bootstraps a prometheus pusgateway 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-pushgateway
The command deploys pushgateway 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 pushgateway chart and their default values.
| Parameter | Description | Default |
|---|---|---|
affinity |
Affinity settings for pod assignment | {} |
extraArgs |
Optional flags for pushgateway | [] |
image.repository |
Image repository | prom/pushgateway |
image.tag |
Image tag | v0.4.0 |
image.pullPolicy |
Image pull policy | IfNotPresent |
ingress.enabled |
Enables Ingress for pushgateway | false |
ingress.annotations |
Ingress annotations | {} |
ingress.hosts |
Ingress accepted hostnames | nil |
ingress.tls |
Ingress TLS configuration | [] |
resources |
CPU/Memory resource requests/limits | {} |
replicaCount |
Number of replicas | 1 |
service.type |
Service type | ClusterIP |
service.port |
The service port | 9091 |
service.targetPort |
The target port of the container | 9091 |
serviceAccount.create |
Specifies whether a service account should be created. | true |
serviceAccount.name |
Service account to be used. If not set and serviceAccount.create is true, a name is generated using the fullname template |
|
tolerations |
List of node taints to tolerate | {} |
nodeSelector |
Node labels for pod assignment | {} |
podAnnotations |
Annotations for pod | {} |
Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,
$ helm install --name my-release \
--set serviceAccount.name=pushgateway \
stable/prometheus-pushgateway
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-pushgateway