-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use sdjournal instead of journalctl for oom parsing #1707
Conversation
cc @jsafrane |
our queue of cadvisor updates is growing, need to track down e2e problems. |
/test pull-cadvisor-e2e |
@sjenning please rebase. The infra issue should be fixed |
@sjenning: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
@dashpole so it hit the new dependency on systemd-devel I mentioned in the PR description.
Can you add the distro appropriate package to the builder? |
If we're planning to switch to directly parsing kmsg instead, I don't see why this change is necessary. |
It looks like both of these approaches (sdjounal and reading /dev/kmsg) are used in NPD. @dchen1107 just mentioned this as a way during a sig-node meeting, so I wrote it up. |
closed in favor of #1729 |
Addresses kube issue kubernetes/kubernetes#34965
Alternative to #1544
Use
github.com/coreos/go-systemd/sdjournal
instead of exec'ingjournalctl -f -k
and leaking the process.NOTE: Using sdjournal requires the systemd headers be installed on the compiling system. For EL distros that is
yum install systemd-devel
.@derekwaynecarr @eparis @euank @dchen1107 @vishh @adohe