Skip to content

Commit

Permalink
Deploy loki
Browse files Browse the repository at this point in the history
  • Loading branch information
mcanevet committed Sep 20, 2020
1 parent 2a81b0b commit 3d94288
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
18 changes: 18 additions & 0 deletions argocd/apps/templates/loki.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: loki
namespace: argocd
spec:
project: default
source:
path: argocd/loki
repoURL: {{ .Values.spec.source.repoURL }}
targetRevision: {{ .Values.spec.source.targetRevision }}
destination:
namespace: cluster-monitoring
server: {{ .Values.spec.destination.server }}
syncPolicy:
automated:
selfHeal: true
8 changes: 8 additions & 0 deletions argocd/loki/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
apiVersion: "v2"
name: "loki"
version: "0"
dependencies:
- name: "loki-stack"
version: "0.40.1"
repository: "https://grafana.github.io/loki/charts"
8 changes: 8 additions & 0 deletions argocd/loki/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
loki-stack:
loki:
serviceMonitor:
enabled: true
promtail:
serviceMonitor:
enabled: true

0 comments on commit 3d94288

Please sign in to comment.