-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Support journal logs in fluentd-gcp on GCI #27981
Conversation
Does most of the work to fix #27446 |
This puts the GCI-specific manifests in |
@@ -30,17 +30,21 @@ ENV DO_NOT_INSTALL_CATCH_ALL_CONFIG true | |||
|
|||
RUN apt-get -q update && \ | |||
apt-get install -y curl && \ | |||
apt-get install -y gcc && \ | |||
apt-get install -y make && \ | |||
apt-get clean && \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@a-robinson fyi, Found another tip to cleanup files in addition to "apt-get clean" in this PR:
8b20890
rm -rf /var/lib/apt/lists/*
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, thanks.
Note that I've removed the fluentd-es part of this PR, as its Dockerfile appears to have bit-rotted well beyond where I feel comfortable trying to get it working with this on such short notice. Even after just installing the relevant gems on top of the fluentd-gcp image, I get the same SSL_connect errors as in #26652. fluentd-es isn't critical for the release, since most users of GCI will be using Google Cloud Logging anyway. |
lgtm |
cc @erictune as cherry-pick czar |
This makes use of the systemd-journal support added in PR kubernetes#27981 and Fixes kubernetes#27446.
Only run the systemd-journal plugin when on a platform that requests it. The plugin crashes the fluentd process if the journal isn't present, so it can't just be run blindly in all configurations.
Only change was adding the analytics footer to the new README.md |
GCE e2e build/test passed for commit 19bf9d0. |
Automatic merge from submit-queue |
Automatic merge from submit-queue Use new fluentd-gcp container with journal support This makes use of the systemd-journal support added in PR #27981 and Fixes #27446. cc/ @a-robinson @andyzheng0831
This makes use of the systemd-journal support added in PR kubernetes#27981 and Fixes kubernetes#27446.
This maintains a single common image for each rather than having to fork out separate images, relying on different commands in yaml manifests to differentiate in the behavior. This is treading on top of @adityakali's #27906, but I wasn't able to get in touch with him this afternoon until very recently. He's handling making sure that the new yaml manifests are used when running on GCI.