Сервис Loki-Stack
http://loki.loki-stack.svc.cluster.local:3100
http://loki-prometheus-server.loki-stack.svc.cluster.local:80
kube1:~/loki-stack# helm pull grafana/loki-stack
kube1:~/loki-stack# less loki-stack/charts/loki/values.yaml
persistence:
enabled: false
accessModes:
- ReadWriteOnce
size: 10Gi
kube1:~/loki-stack# cat values.yaml
loki:
persistence:
enabled: true
prometheus:
enabled: true
alertmanager:
config:
global:
smtp_smarthost: 'server.corp13.un:25'
smtp_from: 'alertmanager@corp13.un'
smtp_require_tls: false
templates:
- '/etc/alertmanager/*.tmpl'
route:
group_wait: 30s
group_interval: 5m
repeat_interval: 3h
receiver: team-X-mails
receivers:
- name: 'team-X-mails'
email_configs:
- to: 'student@corp13.un'
send_resolved: true
serverFiles:
alerting_rules.yml:
groups:
kube1:~/loki-stack# helm upgrade --install loki --namespace=loki-stack grafana/loki-stack --create-namespace -f values.yaml
### helm delete loki --namespace=loki-stack