Debugging pods
On This Lesson 4 topics
This lesson is planned. The outline below lists the topics it will cover. The full lesson has not been published yet.
In this lesson
diagnose a failing pod systematically.
Planned topics
kubectl get podsshows status;describe podshows events (scheduling, image pull, probe failures).kubectl logs <pod>and--previousfor the last crashed container.kubectl exec -itopens a shell;port-forwardreaches a service locally.- Common states:
ImagePullBackOff,CrashLoopBackOff,Pending,OOMKilled. - Check events cluster-wide:
kubectl get events --sort-by=.lastTimestamp.
Draft outline details
Demonstration
table: symptom → first command → likely cause.
Check your understanding
Which flag shows logs of the crashed container?
Show answer
--previous.
Practice
Apply this lesson with the module's lab, exercises and quiz.
Marking a lesson complete is optional and you can undo it any time. Your progress stays in this browser.