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(kubernetes.conf): set read_from_head to false #220

Merged
merged 1 commit into from
Jun 15, 2021

Conversation

Cryptophobia
Copy link
Contributor

  • set read_from_head to false since k8s clusters do graceful log rotation
  • in huge clusters, there is no need to read_from_head
  • KFO takes a long time to read files from the beginning and still sends duplicate log lines
  • since we are using .pos files and names do not collide, this should be safe

Signed-off-by: Anton Ouzounov aouzounov@vmware.com

 - set `read_from_head` to `false` since k8s clusters do graceful log rotation
 - in huge clusters, there is no need to read_from_head
 - KFO takes a long time to read files from the beginning and still sends duplicate log lines
 - since we are using .pos files and names do not collide, this should be safe

Signed-off-by: Anton Ouzounov <aouzounov@vmware.com>
@Cryptophobia Cryptophobia merged commit e55265f into vmware:master Jun 15, 2021
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 this pull request may close these issues.

2 participants