mirror of
https://github.com/helm/charts.git
synced 2026-09-05 12:27:30 +00:00
113 lines
3.2 KiB
YAML
113 lines
3.2 KiB
YAML
# Default values for prometheus-pushgateway.
|
|
# This is a YAML-formatted file.
|
|
# Declare variables to be passed into your templates.
|
|
image:
|
|
repository: prom/pushgateway
|
|
tag: v0.9.1
|
|
pullPolicy: IfNotPresent
|
|
|
|
service:
|
|
type: ClusterIP
|
|
port: 9091
|
|
targetPort: 9091
|
|
|
|
# Optional pod annotations
|
|
podAnnotations: {}
|
|
|
|
# Optional pod labels
|
|
podLabels: {}
|
|
|
|
# Optional service labels
|
|
serviceLabels: {}
|
|
|
|
# Optional serviceAccount labels
|
|
serviceAccountLabels: {}
|
|
|
|
# Optional additional arguments
|
|
extraArgs: []
|
|
|
|
# Optional additional environment variables
|
|
extraVars: []
|
|
|
|
resources: {}
|
|
# We usually recommend not to specify default resources and to leave this as a conscious
|
|
# choice for the user. This also increases chances charts run on environments with little
|
|
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
|
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
|
# limits:
|
|
# cpu: 200m
|
|
# memory: 50Mi
|
|
# requests:
|
|
# cpu: 100m
|
|
# memory: 30Mi
|
|
|
|
serviceAccount:
|
|
# Specifies whether a ServiceAccount should be created
|
|
create: true
|
|
# The name of the ServiceAccount to use.
|
|
# If not set and create is true, a name is generated using the fullname template
|
|
name:
|
|
|
|
## Configure ingress resource that allow you to access the
|
|
## pushgateway installation. Set up the URL
|
|
## ref: http://kubernetes.io/docs/user-guide/ingress/
|
|
##
|
|
ingress:
|
|
## Enable Ingress.
|
|
##
|
|
enabled: false
|
|
|
|
## Annotations.
|
|
##
|
|
# annotations:
|
|
# kubernetes.io/ingress.class: nginx
|
|
# kubernetes.io/tls-acme: 'true'
|
|
|
|
## Hostnames.
|
|
## Must be provided if Ingress is enabled.
|
|
##
|
|
# hosts:
|
|
# - pushgateway.domain.com
|
|
|
|
## TLS configuration.
|
|
## Secrets must be manually created in the namespace.
|
|
##
|
|
# tls:
|
|
# - secretName: pushgateway-tls
|
|
# hosts:
|
|
# - pushgateway.domain.com
|
|
|
|
tolerations: {}
|
|
# - effect: NoSchedule
|
|
# operator: Exists
|
|
|
|
## Node labels for pushgateway pod assignment
|
|
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
|
|
##
|
|
nodeSelector: {}
|
|
|
|
replicaCount: 1
|
|
|
|
## Affinity for pod assignment
|
|
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
|
|
affinity: {}
|
|
|
|
# Enable this if you're using https://github.com/coreos/prometheus-operator
|
|
serviceMonitor:
|
|
enabled: false
|
|
namespace: monitoring
|
|
# fallback to the prometheus default unless specified
|
|
# interval: 10s
|
|
## Defaults to what's used if you follow CoreOS [Prometheus Install Instructions](https://github.com/helm/charts/tree/master/stable/prometheus-operator#tldr)
|
|
## [Prometheus Selector Label](https://github.com/helm/charts/tree/master/stable/prometheus-operator#prometheus-operator-1)
|
|
## [Kube Prometheus Selector Label](https://github.com/helm/charts/tree/master/stable/prometheus-operator#exporters)
|
|
selector:
|
|
prometheus: kube-prometheus
|
|
# Retain the job and instance labels of the metrics pushed to the Pushgateway
|
|
# [Scraping Pushgateway](https://github.com/prometheus/pushgateway#configure-the-pushgateway-as-a-target-to-scrape)
|
|
honorLabels: true
|
|
|
|
# The values to set in the PodDisruptionBudget spec (minAvailable/maxUnavailable)
|
|
# If not set then a PodDisruptionBudget will not be created
|
|
podDisruptionBudget:
|