Full lesson
Explore the full explanation, examples, and visuals at your own pace.
Part 1
Kubernetes deleted the error message before you woke up.
At 9 AM, the developer runs describe pod. The request goes to the API Server, which looks in the Event Store for that Pod's events. Events are short records of what happened to a Pod. This time, nothing comes back, so you see Events: none, even though the Pod crashed at 2 AM.
Default retention: one hour
Follow the timeline. At 2 AM the Pod crashes, and Kubernetes records events about it. But by default, events are kept for only one hour. So around 3 AM they expire and get deleted. When you run your check at 9 AM, there's nothing left to show. The explanation existed, just not when you looked.
Fix: copy events somewhere durable
Here's the same 2 AM crash with a new path. Kubernetes still records the events, but an event exporter, a small tool that watches them, forwards each one to a logging tool. The cluster deletes its copy later, yet the logging tool keeps it. So the 9 AM check still finds the explanation.
Keep the explanation
You have two ways to keep the explanation. Check events soon after a failure, while they're still fresh. Or forward them to a logging or monitoring tool if you'll need history later. Just remember, retention is configurable and managed platforms can differ.
- Check events soon after a failure
- Forward events if you need history
- Retention is configurable; managed platforms differ
Events are a sticky note, not a diary.
If you'll need an investigation later, export events to a logging or monitoring tool before they expire. Events are a sticky note, not a diary.