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

fix: containerd log symlink #4273

Merged
merged 1 commit into from
Sep 21, 2021
Merged

Conversation

sergelogvinov
Copy link
Contributor

@sergelogvinov sergelogvinov commented Sep 20, 2021

Kubelet creates symlinks from /var/log/containers/.log to the log file /var/log/pod//0.log
Log senders (like fluentd) usualy watch the folder /var/log/containers/*.log

Kubelet needs to share containers folder.


This change is Reviewable

@smira smira added this to the v0.13 milestone Sep 20, 2021
@smira
Copy link
Member

smira commented Sep 20, 2021

/approve

Unix4ever
Unix4ever previously approved these changes Sep 20, 2021
Kubelet creates symlinks from /var/log/containers/<pod>.log to the log file /var/log/pod/<pod-folder>/0.log
Log senders (like fluentd) usually watch the folder /var/log/containers/*.log
Kubelet needs to share containers folder.

Signed-off-by: Serge Logvinov <serge.logvinov@sinextra.dev>
Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
@smira
Copy link
Member

smira commented Sep 21, 2021

/m --ff

@talos-bot talos-bot merged commit d9eb18b into siderolabs:master Sep 21, 2021
@sergelogvinov sergelogvinov deleted the logger branch November 27, 2021 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants