blob: ec3a2d544a2169cf4f1c0e2ac9a2e6cc9e3c8149 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Grafana Loki
Log aggregation system for your k3s cluster.
Includes Grafana Alloy as a DaemonSet to collect logs from all containers in all namespaces.
## Prerequisites
Create the data directory on your host:
```bash
sudo mkdir -p /data/nfs/k3svolumes/loki/data
sudo chown 10001:10001 /data/nfs/k3svolumes/loki/data
```
## Install
```bash
just install
```
## Configure Grafana
Add Loki as a data source in Grafana:
- Type: Loki
- URL: `http://loki.monitoring.svc.cluster.local:3100`
|