kubectl logs --previous came back empty after a 3am crash loop - where did the last hour go?
Small cluster, no log stack yet, everything goes to stdout and we read it with kubectl. Service crash looped for about an hour overnight, the node got rebooted by the platform, and by the time I looked there was nothing to read. Before I sign up for a hosted logging bill I would like to understand what the default retention actually is and what I am choosing between.
@shallow_well_shea · 4w ago
There is no retention. There is a file on a disk that gets rotated and a pod that can be deleted at any moment. If it has not left the node, it does not exist.
Reply
Report