Prometheus Pushgateway¶
This chart bootstraps a prometheus pushgateway deployment on a Kubernetes cluster using the Helm package manager.
An optional prometheus ServiceMonitor
can be enabled, should you wish to use this gateway with a Prometheus Operator.
Get Repository Info¶
helm repo add prometheus-community https://helm-charts.itboon.top/prometheus-community
helm repo update
See helm repo
for command documentation.
Install Chart¶
See configuration below.
See helm install for command documentation.
Uninstall Chart¶
This removes all the Kubernetes components associated with the chart and deletes the release.
See helm uninstall for command documentation.
Upgrading Chart¶
See helm upgrade for command documentation.
To 2.0.0¶
Chart API version has been upgraded to v2 so Helm 3 is needed from now on.
Docker image tag is used from Chart.yaml appVersion field by default now.
Version 2.0.0 also adapted Helm label and annotation best practices. Specifically, labels mapping is listed below:
OLD => NEW
----------------------------------------
heritage => app.kubernetes.io/managed-by
chart => helm.sh/chart
[container version] => app.kubernetes.io/version
app => app.kubernetes.io/name
release => app.kubernetes.io/instance
Therefore, depending on the way you've configured the chart, the previous StatefulSet or Deployment need to be deleted before upgrade.
If runAsStatefulSet: false
(this is the default):
If runAsStatefulSet: true
:
After that do the actual upgrade:
Configuration¶
See Customizing the Chart Before Installing. To see all configurable options with detailed comments, visit the chart's values.yaml, or run these configuration commands: