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
- instances
Required value
This parameter contains a list of instances; a separate PushGateway will be created for each instance.
Example:
instances: - first - second
- nodeSelector
The same as in the pods’
spec.nodeSelector
parameter in Kubernetes.If the parameter is omitted or
false
, it will be determined automatically. - tolerations
The same as in the pods’
spec.tolerations
parameter in Kubernetes;If the parameter is omitted or
false
, it will be determined automatically.- tolerations.effect
- tolerations.key
- tolerations.operator
- tolerations.tolerationSeconds
- tolerations.value