summaryrefslogtreecommitdiff
path: root/data.d/k3s-master/manifests.d/oolah/monitoring/prometheus/helm-chart.yaml
blob: f32479b783a4e2b8f50298c53a3635b18425b59a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
---
apiVersion: helm.cattle.io/v1
kind: HelmChart
metadata:
  name: prometheus
  namespace: kube-system
spec:
  repo: "https://prometheus-community.github.io/helm-charts"
  chart: "prometheus"
  targetNamespace: "monitoring"
  valuesContent: |-
    server:
      baseURL: "https://prometheus.tyil.nl"
      global:
        scrape_interval: "1m"
        scrape_timeout: "10s"
        evaluation_interval: "1m"
      ingress:
        enabled: true
        ingressClassName: "traefik"
        annotations:
          cert-manager.io/cluster-issuer: "letsencrypt-production"
        tls:
        - hosts:
          - "prometheus.tyil.nl"
          secretName: "tls-nl.tyil.prometheus"
        hosts:
        - "prometheus.tyil.nl"
      persistentVolume:
        enabled: true
        existingClaim: "prometheus"
      prometheus.yml:
        scrape_configs:
        - job_name: exporter-postgresql
          static_configs:
          - targets:
            - "prometheus-exporter-postgresql-prometheus-postgres-exporter:80"
    alertmanager:
      enabled: false
...