Skip to content

Stop tailing logs after log rotation in k8s #166

Description

@arezvani

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions