fix(netbird-ingress): log to console only #1574

Merged
k.renner merged 1 commits from fix/netbird-ingress-log-console into main 2026-11-06 07:29:05 +00:00
Member

Sets NB_LOG_FILE=console on the netbird-ingress DaemonSet.

The rootless image defaults NB_LOG_FILE to console,/var/lib/netbird/client.log. /var/lib/netbird is a 16Mi memory emptyDir, so one 15 MB rotated log fills it: log writes and rotation compression fail with ENOSPC. The tmpfs also counts against the 256Mi memory limit. Console output already goes to Loki, so the file copy adds nothing.

Rolls one node at a time (maxUnavailable: 1, minReadySeconds: 45). Each pod re-enrolls with an empty state volume.

🤖 Generated with Claude Code

Sets `NB_LOG_FILE=console` on the netbird-ingress DaemonSet. The rootless image defaults `NB_LOG_FILE` to `console,/var/lib/netbird/client.log`. `/var/lib/netbird` is a 16Mi memory emptyDir, so one 15 MB rotated log fills it: log writes and rotation compression fail with ENOSPC. The tmpfs also counts against the 256Mi memory limit. Console output already goes to Loki, so the file copy adds nothing. Rolls one node at a time (`maxUnavailable: 1`, `minReadySeconds: 45`). Each pod re-enrolls with an empty state volume. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
claude-bot added 1 commit 2026-11-06 07:26:32 +00:00
fix(netbird-ingress): log to console only
ci/woodpecker/pr/ci-manifests-test Pipeline was successful
ci/woodpecker/pr/ci-scripts-test Pipeline was successful
8d47e085cb
The rootless image defaults NB_LOG_FILE to
console,/var/lib/netbird/client.log. The state volume is a 16Mi
memory emptyDir, so a single 15MB rotated log fills it (ENOSPC on
log writes and rotation compression) and the tmpfs is charged
against the 256Mi memory limit. Console output already reaches Loki.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
k.renner merged commit fc720823db into main 2026-11-06 07:29:05 +00:00
Sign in to join this conversation.