This module installs Prometheus Pushgateway into the cluster. It receives metrics from the app and pushes them to Prometheus.
The module is not enabled by default in any bundles.
The module is configured using the ModuleConfig custom resource named prometheus-pushgateway (learn more about setting up Deckhouse…).
Example of the ModuleConfig/prometheus-pushgateway resource for configuring the module:
apiVersion: deckhouse.io/v1alpha1
kind: ModuleConfig
metadata:
name: prometheus-pushgateway
spec:
version: 1
enabled: true
settings: # <-- Module parameters from the "Parameters" section below.
Parameters
Schema version: 1
- array of stringsinstances
Required value
This parameter contains a list of instances; a separate PushGateway will be created for each instance.
Example:
instances: - first - second - objectnodeSelector
The same as in the pods’
spec.nodeSelectorparameter in Kubernetes.If the parameter is omitted or
false, it will be determined automatically. - array of objectstolerations
The same as in the pods’
spec.tolerationsparameter in Kubernetes;If the parameter is omitted or
false, it will be determined automatically.- stringtolerations.effect
- stringtolerations.key
- stringtolerations.operator
- integertolerations.tolerationSeconds
- stringtolerations.value