add loki and promtail
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Aaron Riedel 2023-10-24 17:54:06 +02:00
parent f6cc9fde1f
commit d53ae6af74
Signed by: aaron
GPG key ID: 643004654D40D577
3 changed files with 66 additions and 0 deletions

View file

@ -198,6 +198,60 @@ spec:
destination: destination:
server: https://kubernetes.default.svc server: https://kubernetes.default.svc
namespace: dashboard-staging namespace: dashboard-staging
syncPolicy:
syncOptions:
- CreateNamespace=true
automated:
selfHeal: false
prune: true
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: loki
namespace: argocd
spec:
project: default
source:
- chart: loki
repoURL: https://grafana.github.io/helm-charts
targetRevision: 5.35.0
helm:
releaseName: loki
valueFiles:
- $values/loki/values.yaml
- repoURL: https://git.ar21.de/yolokube/core-deployments.git
targetRevision: HEAD
ref: values
- repoURL: https://git.ar21.de/yolokube/core-deployments.git
targetRevision: HEAD
path: loki
destination:
server: https://kubernetes.default.svc
namespace: logs
syncPolicy:
syncOptions:
- CreateNamespace=true
automated:
selfHeal: false
prune: true
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: promtail
namespace: argocd
spec:
project: default
source:
- chart: promtail
repoURL: https://grafana.github.io/helm-charts
targetRevision: 6.15.3
helm:
releaseName: promtail
destination:
server: https://kubernetes.default.svc
namespace: logs
syncPolicy: syncPolicy:
syncOptions: syncOptions:
- CreateNamespace=true - CreateNamespace=true

6
loki/namespace.yaml Normal file
View file

@ -0,0 +1,6 @@
apiVersion: v1
kind: Namespace
metadata:
name: logs
labels:
prometheus: yolokube

6
loki/values.yaml Normal file
View file

@ -0,0 +1,6 @@
minio:
enabled: true
replicas: 3
drivesPerNode: 4
loki:
auth_enabled: false