2637309949@qq.com 8e84a98484 feat: add loki yaml 4 лет назад
..
fluent-bit 8e84a98484 feat: add loki yaml 4 лет назад
grafana 8e84a98484 feat: add loki yaml 4 лет назад
loki 8e84a98484 feat: add loki yaml 4 лет назад
prometheus 8e84a98484 feat: add loki yaml 4 лет назад
promtail 8e84a98484 feat: add loki yaml 4 лет назад
README.md 8e84a98484 feat: add loki yaml 4 лет назад

README.md

Kubernetes Loki Server

logger collection

deploy loki server

kubectl apply -f ./loki

deploy loki agent, promtail or fluent-bit

kubectl apply -f ./promtail

deploy grafana ui

kubectl apply -f ./grafana

To get the admin password for the Grafana pod, run the following command:

kubectl get secret --namespace <YOUR-NAMESPACE> loki-grafana -o jsonpath="{.data.admin-password}" | base64 --decode ; echo
kubectl port-forward --namespace <YOUR-NAMESPACE> service/loki-grafana 3000:80

Navigate to http://localhost:3000 and login with admin and the password output above. Then follow the instructions for adding the loki datasource, using the URL http://loki:3100/.