Skip to content
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

Merged
merged 1 commit into from
Jun 24, 2016

Conversation

a-robinson
Copy link
Contributor

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.

@a-robinson a-robinson added the release-note Denotes a PR that will be considered when it comes time to generate release notes. label Jun 23, 2016
@a-robinson a-robinson added this to the v1.3 milestone Jun 23, 2016
@a-robinson
Copy link
Contributor Author

Does most of the work to fix #27446

@k8s-github-robot k8s-github-robot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Jun 23, 2016
@a-robinson
Copy link
Contributor Author

This puts the GCI-specific manifests in cluster/addons/gci/. That might have to change based on @adityakali's work

@@ -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 && \
Copy link
Member

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/*

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, thanks.

@a-robinson a-robinson changed the title Support journal logs in fluentd-gcp and fluentd-es on GCI Support journal logs in fluentd-gcp on GCI Jun 23, 2016
@a-robinson
Copy link
Contributor Author

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.

@k8s-github-robot k8s-github-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Jun 23, 2016
@adityakali
Copy link
Contributor

lgtm

@a-robinson a-robinson added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 23, 2016
@a-robinson
Copy link
Contributor Author

cc @erictune as cherry-pick czar

adityakali added a commit to adityakali/kubernetes that referenced this pull request Jun 24, 2016
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.
@k8s-github-robot k8s-github-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 24, 2016
@a-robinson
Copy link
Contributor Author

Only change was adding the analytics footer to the new README.md

@a-robinson a-robinson added lgtm "Looks good to me", indicates that a PR is ready to be merged. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. labels Jun 24, 2016
@k8s-bot
Copy link

k8s-bot commented Jun 24, 2016

GCE e2e build/test passed for commit 19bf9d0.

@k8s-github-robot
Copy link

Automatic merge from submit-queue

@k8s-github-robot k8s-github-robot merged commit 6aa016b into kubernetes:master Jun 24, 2016
k8s-github-robot pushed a commit that referenced this pull request Jun 24, 2016
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
a-robinson pushed a commit to a-robinson/kubernetes that referenced this pull request Jun 24, 2016
This makes use of the systemd-journal support added in PR kubernetes#27981
and Fixes kubernetes#27446.
@a-robinson a-robinson added cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. cherrypick-candidate labels Jun 24, 2016
@roberthbailey roberthbailey removed cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. cherrypick-candidate labels Jun 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants