-
Story
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
When agents are starting as unprivileged, they would show this error:
time="2023-09-20T07:26:57Z" level=error msg="can't detect any network-namespaces" component=ifaces.Watcher error="open /var/run/netns: no such file or directory" time="2023-09-20T07:26:57Z" level=error msg="failed to add watcher to netns directory" component=ifaces.Watcher error="no such file or directory"
... which could make users worry about something not working, although this is something expected as unprivlleged (which is the default).
Maybe just show a warning instead, when "/var/run/netns" doesn't exist (likely because it wasn't mounted), with something like "[...] Ignore this warning if agent pods don't run as privileged"
- links to
- mentioned on