summaryrefslogtreecommitdiff
path: root/f3s/argocd-apps/monitoring/alloy.yaml
blob: e2105e3db2f0f29c4639d5361985ddbd9957b3cf (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
41
42
43
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: alloy
  namespace: cicd
  finalizers:
    - resources-finalizer.argocd.argoproj.io
spec:
  project: default
  source:
    repoURL: https://grafana.github.io/helm-charts
    chart: alloy
    targetRevision: 0.3.2
    helm:
      releaseName: alloy
      valuesObject:
        alloy:
          # Log shipping (to Loki) and trace forwarding (to Tempo) are
          # disabled — Loki and Tempo apps are off. The DaemonSet stays
          # deployed with a no-op config so the chart can be re-enabled
          # by restoring the discovery/loki/otelcol blocks here.
          configMap:
            content: |
              logging {
                level = "info"
              }

  destination:
    server: https://kubernetes.default.svc
    namespace: monitoring

  syncPolicy:
    automated:
      prune: true
      selfHeal: true
    syncOptions:
      - CreateNamespace=false
    retry:
      limit: 3
      backoff:
        duration: 5s
        factor: 2
        maxDuration: 1m