diff --git a/apps/loki/loki.yaml b/apps/loki/loki.yaml new file mode 100644 index 0000000..04947d1 --- /dev/null +++ b/apps/loki/loki.yaml @@ -0,0 +1,62 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: loki + namespace: argocd +spec: + project: default + source: + repoURL: https://grafana.github.io/helm-charts + chart: loki + targetRevision: 6.* + helm: + values: | + deploymentMode: Monolithic + + loki: + auth_enabled: false + commonConfig: + replication_factor: 1 + storage: + type: filesystem + schemaConfig: + configs: + - from: "2024-04-01" + store: tsdb + object_store: filesystem + schema: v13 + index: + prefix: loki_index_ + period: 24h + + singleBinary: + replicas: 1 + persistence: + enabled: true + storageClass: longhorn + size: 50Gi + + backend: + replicas: 0 + read: + replicas: 0 + write: + replicas: 0 + + chunksCache: + enabled: false + resultsCache: + enabled: false + + test: + enabled: false + + destination: + server: https://kubernetes.default.svc + namespace: loki + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true