aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/namespaces/loki/README.md
blob: 26c158ded0ab408c961b6f9ce2d8e416ef2a116e (plain) (blame)
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
# Logging

We deploy multiple components through Helm to solve logging within our cluster.

## Loki

We use `loki_values.yml` to deploy the `grafana/loki` Helm chart.

Once this is deployed, the service `loki-gateway.loki.svc.cluster.local` will point to one of the Loki replicas.

```
$ helm repo add grafana https://grafana.github.io/helm-charts
$ helm repo update
$ helm upgrade --install -n loki --values loki_values.yml loki grafana/loki
```

## Alloy

[Alloy](https://grafana.com/oss/alloy-opentelemetry-collector/) ships logs from all pods through to Loki.

This requires no additional configuration, just make sure Loki is up and Alloy will start shipping logs.

```
$ helm upgrade --install -n loki --values alloy_values.yml alloy grafana/alloy
```