- All Courses
- Kubernetes for Application Developers
- Operating and Debugging
- Reading logs and events
Reading logs and events
When a pod never starts, its logs are empty and the events tell the whole story: no node had capacity, the image could not be pulled, a volume would not mount, a probe kept…
Overview
Events explain what logs cannot
When a pod never starts, its logs are empty and the events tell the whole story: no node had capacity, the image could not be pulled, a volume would not mount, a probe kept failing.
For a pod that crashed and restarted, the current logs are from the new container. Fetching the previous container logs is how you see the actual crash.
Learn the status vocabulary. Pending is scheduling, image pull errors are registry or credentials, crash loops are your application, and an out-of-memory kill is a limits problem.
In this lesson you will:
- Read events for scheduling and probe failures
- Get logs from a crashed previous container
- Recognise the common pod status messages
Resources
Notes are not saved yet — they clear when you leave this page.
Jobs and CronJobs
8m
A kubectl debugging workflow
49m