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

Kubernetes logs stop processing after log rotation #1910

Closed
sciyoshi opened this issue Feb 24, 2020 · 0 comments · Fixed by #1912
Closed

Kubernetes logs stop processing after log rotation #1910

sciyoshi opened this issue Feb 24, 2020 · 0 comments · Fixed by #1912

Comments

@sciyoshi
Copy link
Contributor

Docker's json-file logging driver tends to reuse inodes after rotating logs. This breaks the Kubernetes source, since it hardcodes the device/inode fingerprinting strategy and will use an old offset if it exists.

Related to #1779 and #1427, but this is currently making the source unusable in Kubernetes.

See discussion here: https://gitter.im/timberio-vector/community?at=5e541b86101adb4160c3e90e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant