Skip to content
This repository was archived by the owner on Jul 28, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ this platform. FreeBSD builds will return in a future release.
- [BUGFIX] Integrations will now function if the HTTP listen address was set to
a value other than the default. ([#206](https://github.com/grafana/agent/issues/206)) (@mattdurham)

- [BUGFIX] The default Loki installation will now be able to write its positions
file. This was prevented by accidentally writing to a readonly volume mount.
(@rfratto)

# v0.9.1 (2021-01-04)

NOTE: FreeBSD builds will not be included for this release. There is a bug in an
Expand Down
1 change: 0 additions & 1 deletion production/kubernetes/agent-loki.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,6 @@ spec:
name: grafana-agent-logs
- mountPath: /var/log
name: varlog
readOnly: true
- mountPath: /var/lib/docker/containers
name: varlibdockercontainers
readOnly: true
Expand Down
5 changes: 3 additions & 2 deletions production/tanka/grafana-agent/v1/lib/loki.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,9 @@ local container = k.core.v1.container;
container.mixin.securityContext.withRunAsUser(0),

agent+:
// For reading docker containers
k.util.hostVolumeMount('varlog', '/var/log', '/var/log', readOnly=true) +
// For reading docker containers. /var/log is used for the positions file
// and shouldn't be set to readonly.
k.util.hostVolumeMount('varlog', '/var/log', '/var/log') +
k.util.hostVolumeMount('varlibdockercontainers', '/var/lib/docker/containers', '/var/lib/docker/containers', readOnly=true) +

// For reading journald
Expand Down