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

Stop tailing logs after log rotation in k8s #166

Open
arezvani opened this issue Jul 25, 2024 · 0 comments
Open

Stop tailing logs after log rotation in k8s #166

arezvani opened this issue Jul 25, 2024 · 0 comments

Comments

@arezvani
Copy link

Hi,
I have a problem where Kail stops collecting logs from a pod that produces logs at a high rate after a while. I tried to find out why this happens and discovered that this issue occurs when kubectl logs -f also stops. I found out that this is due to log rotation in Kubernetes. Kail works like tail -f rather than tail -F, which uses inode tracking.

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

No branches or pull requests

1 participant