clusters/monitor/kustomization.yaml: add loki

This commit is contained in:
Haitao Pan 2024-01-29 20:12:45 +08:00
parent eda4c92a59
commit 5a2c72b2b4
2 changed files with 22 additions and 0 deletions

View File

@ -22,6 +22,27 @@ spec:
loki:
enabled: true
isDefault: false
ingress:
enabled: true
ingressClassName: nginx
hosts:
- host: loki.svc-dev.ink
paths: []
tls:
- secretName: obs-tls
hosts:
- loki.svc-dev.ink
ruler:
storage:
type: local
local:
directory: /rules
rule_path: /tmp/scratch
alertmanager_url: https://alertmanager.svc-dev.ink
ring:
kvstore:
store: inmemory
enable_api: true
serviceMonitor:
enabled: true
additionalLabels:

View File

@ -4,6 +4,7 @@ namespace: monitoring
resources:
- ../../apps/monitor/flagger/
- ../../apps/monitor/flagger-loadtester/
- ../../apps/monitor/loki-stack
- namespace.yaml
- helmrepo.yaml
- observability-agent.yaml