You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
We are trying to configure Kubernets nodes logs collecting using JournalD source.
There are almost no full/working examples around and just brief discussions in the Discord and GitHub.
journalctl_path
-/usr/bin/journalctl
journal_directory
-/var/log/journal
0.44.0-distroless-libc
,0.44.0-distroless-static
,0.44.0-debian
,0.44.0-alpine
values.yaml
Issues
We need more working examples to not check different sources, trying to understand how to configure it properly and all possible drawbacks.
A single way which was working is to use
0.44.0-debian
image, without additional volumes mounting.When we are using default image, it is required to mount to Pod additionally journalctl binary and if required set journalctl_path.
That doesn't work because we miss libraries
We can mount
/usr/lib64/systemd
-->/usr/lib64/systemd
, but we miss more libraries - the next one was/usr/lib64/libacl.so.1s
We can try to mount whole
/usr/lib64
-->/usr/lib64
but got another error related to the gclibc or so.Setting
LD_LIBRARY_PATH
is a wrong way?Beta Was this translation helpful? Give feedback.
All reactions