From 8d47e085cb03ccdacb64d6fe7a04e02ad043b265 Mon Sep 17 00:00:00 2001 From: Claude Bot Date: Fri, 6 Nov 2026 08:26:15 +0100 Subject: [PATCH] fix(netbird-ingress): log to console only 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 --- kubernetes/infrastructure/netbird-ingress/daemonset.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kubernetes/infrastructure/netbird-ingress/daemonset.yaml b/kubernetes/infrastructure/netbird-ingress/daemonset.yaml index f2685057..e1e9abf7 100644 --- a/kubernetes/infrastructure/netbird-ingress/daemonset.yaml +++ b/kubernetes/infrastructure/netbird-ingress/daemonset.yaml @@ -76,6 +76,10 @@ spec: value: "netbird-ingress-$(NODE_NAME)" - name: NB_LOG_LEVEL value: "info" + # stdout only; the image default also writes client.log into the + # 16Mi state tmpfs. + - name: NB_LOG_FILE + value: "console" # rootless image needs a writable HOME for its state. - name: USER value: "netbird" -- 2.54.0