Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
116 changes: 36 additions & 80 deletions apps/logs.yaml
Original file line number Diff line number Diff line change
@@ -1,82 +1,38 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: grafana-loki
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
repoURL: https://grafana.github.io/helm-charts
chart: loki
targetRevision: 6.6.0
helm:
values: |
deploymentMode: SingleBinary
source:
repoURL: https://grafana.github.io/helm-charts
chart: loki-stack
targetRevision: 2.10.2
helm:
values: |
promtail:
enabled: true

resources:
requests:
memory: 50Mi
cpu: 50m
limits:
memory: 150Mi
cpu: 200m

grafana:
enabled: false

loki:
enabled: true

persistence:
enabled: true
storageClassName: local-path
size: 20Gi

resources:
requests:
memory: 200Mi
cpu: 100m
limits:
memory: 400Mi
cpu: 500m

test:
enabled: false

lokiCanary:
enabled: false

gateway:
enabled: false

minio:
enabled: false

chunksCache:
enabled: false

resultsCache:
enabled: false

singleBinary:
replicas: 1
persistence:
enabled: true
storageClass: local-path
size: 20Gi

backend:
replicas: 0
read:
replicas: 0
write:
replicas: 0


destination:
server: https://kubernetes.default.svc
namespace: monitoring
syncPolicy:
automated: { prune: true, selfHeal: true }
syncOptions: [CreateNamespace=true]

---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: promtail
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
repoURL: https://grafana.github.io/helm-charts
chart: promtail
targetRevision: 6.16.6
helm:
values: |
config:
clients:
- url: http://grafana-loki.monitoring.svc.cluster.local:3100/loki/api/v1/push
destination:
server: https://kubernetes.default.svc
namespace: monitoring
syncPolicy:
automated: { prune: true, selfHeal: true }
syncOptions: [CreateNamespace=true]
auth_enabled: false
Loading