Skip to content

Commit

Permalink
fix: promtail failures connecting to local loki installation [release…
Browse files Browse the repository at this point in the history
…-2.9.x] (#12184)

Co-authored-by: Vishal Vazkar <vazkarvishal@gmail.com>
  • Loading branch information
grafanabot and vazkarvishal committed Mar 12, 2024
1 parent c80e7ab commit 8585e35
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion docs/sources/send-data/promtail/installation.md
Expand Up @@ -40,10 +40,20 @@ And the chart repository can be updated by running:
helm repo update
```

Create the configuration file `values.yaml`. The example below illustrates a connection to the locally deployed loki server:
```yaml
config:
# publish data to loki
clients:
- url: http://loki-gateway/loki/api/v1/push
tenant_id: 1
```

Finally, Promtail can be deployed with:

```bash
helm upgrade --install promtail grafana/promtail
# The default helm configuration deploys promtail as a daemonSet (recommended)
helm upgrade --values values.yaml --install promtail grafana/promtail
```

## Install as Kubernetes daemonSet (recommended)
Expand Down

0 comments on commit 8585e35

Please sign in to comment.