commit 8fe51e8ba2683d31f7fa9577131faa5029fb551f
parent f601a2063046acf376a7873bc1e4210582e80d49
Author: MTRNord <mtrnord1@gmail.com>
Date: Mon, 19 Jun 2023 19:28:17 +0200
install tempo
Diffstat:
4 files changed, 50 insertions(+), 0 deletions(-)
diff --git a/apps/base/tempo/kustomization.yaml b/apps/base/tempo/kustomization.yaml
@@ -0,0 +1,6 @@
+apiVersion: kustomize.config.k8s.io/v1beta1
+kind: Kustomization
+namespace: monitoring
+resources:
+ - repository.yaml
+ - release.yaml
diff --git a/apps/base/tempo/release.yaml b/apps/base/tempo/release.yaml
@@ -0,0 +1,35 @@
+apiVersion: helm.toolkit.fluxcd.io/v2beta1
+kind: HelmRelease
+metadata:
+ name: tempo
+ namespace: monitoring
+spec:
+ interval: 5m
+ chart:
+ spec:
+ version: "1.3.x"
+ chart: tempo
+ sourceRef:
+ kind: HelmRepository
+ name: tempo
+ interval: 60m
+ install:
+ crds: Create
+ upgrade:
+ crds: CreateReplace
+ # Force recreation due to Helm not properly patching Deployment with e.g. added port,
+ # causing spurious drift detection
+ force: true
+ values:
+ tolerations:
+ - key: "arch"
+ operator: "Equal"
+ value: "arm64"
+ effect: "NoSchedule"
+ tempo:
+ metricsGenerator:
+ # -- If true, enables Tempo's metrics generator (https://grafana.com/docs/tempo/next/metrics-generator/)
+ enabled: true
+ remoteWriteUrl: "http://kube-prometheus-kube-prome-prometheus.monitoring.svc.cluster.local:9090/api/v1/write"
+ tempoQuery:
+ enabled: true
diff --git a/apps/base/tempo/repository.yaml b/apps/base/tempo/repository.yaml
@@ -0,0 +1,8 @@
+apiVersion: source.toolkit.fluxcd.io/v1beta2
+kind: HelmRepository
+metadata:
+ name: tempo
+ namespace: monitoring
+spec:
+ interval: 120m
+ url: https://grafana.github.io/helm-charts
diff --git a/apps/production/kustomization.yaml b/apps/production/kustomization.yaml
@@ -12,6 +12,7 @@ resources:
- ../base/postgres-exporter
- ../base/redmine
- ../base/mailu
+ - ../base/tempo
- sliding-proxy-ingress.yaml
- pvcs-mjolnir.yaml
patchesStrategicMerge: