Skip to content

Stop tailing logs after log rotation in k8s #166

@arezvani

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.

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