cluster

Infrastructure files for Nordgedanken and Midnightthoughts.
git clone git://archive.git.mtrnord.blog/MTRNord/cluster.git
Log | Files | Refs | README

prometheus-adapter.yaml (665B)


      1 apiVersion: helm.toolkit.fluxcd.io/v2
      2 kind: HelmRelease
      3 metadata:
      4   name: prom-adapter
      5   namespace: monitoring
      6 spec:
      7   interval: 5m
      8   chart:
      9     spec:
     10       version: 5.3.0
     11       chart: prometheus-adapter
     12       sourceRef:
     13         kind: HelmRepository
     14         name: prometheus-community
     15       interval: 60m
     16   install:
     17     crds: CreateReplace
     18   upgrade:
     19     crds: CreateReplace
     20     # Force recreation due to Helm not properly patching Deployment with e.g. added port,
     21     # causing spurious drift detection
     22     force: true
     23   values:
     24     # Url to access prometheus
     25     prometheus:
     26       url: http://thanos-query-frontend.monitoring.svc
     27       port: 10902
     28       path: ""