Interactive Lab ยท CKA Topic ยท Intermediate

POD TROUBLESHOOTING

$ kubectl describe pod broken-pod | grep -i error
Beginner
โœ“
Wrong Image Name
Pod stuck in ImagePullBackOff. Find and fix the typo.
Intermediate
โœ“
Missing ConfigMap
Pod crashes on start. A required ConfigMap does not exist.
Intermediate
โœ“
Resource Limits Hit
Pod keeps OOMKilling. Adjust the memory limits correctly.
Advanced
โœ“
Wrong Node Selector
Pod is Pending forever. No node matches the selector.
๐Ÿ”ด Broken Cluster Scenario ImagePullBackOff

Loading scenario...

๐Ÿ”ด kubectl output
Loading...
pod.yaml
terminal kubectl output โ— LIVE
๐ŸŽ‰
Pod is Running!
Good debugging. That is exactly how you think through it on the CKA exam.
Scenarios Solved
0/4
Badges Earned
Image Detective
Config Hunter
Memory Master
Scheduler Whisperer
๐Ÿ”ง Key Troubleshooting Commands
kubectl describe pod <name>
Shows events, conditions, and the exact reason a pod is failing. Always start here.
kubectl logs <pod>
Shows container stdout/stderr. Use --previous for crashed containers.
kubectl get events
Cluster-wide events sorted by time. Shows pull errors, OOMKill, scheduling failures.
kubectl get pod -o wide
Shows which node the pod is on, its IP, and current status at a glance.
kubectl edit pod <name>
Opens the live pod spec in your editor. Some fields cannot be edited on running pods.
kubectl delete pod <name> --force
Force deletes a stuck pod. Use when graceful deletion hangs.
๐Ÿ†
Achievement Unlocked