codegurukool.com · Free coding tutorials & online compiler

Home › Kubernetes Tutorial › Troubleshooting

Troubleshooting

Find out why a Pod is not working.

Start with kubectl get pods, then kubectl describe pod NAME (read the Events at the bottom) and kubectl logs NAME. Common statuses: Pending (no node fits), ImagePullBackOff (wrong image name or no access), CrashLoopBackOff (the container keeps crashing) and OOMKilled (out of memory).

Example code

kubectl get pod broken-pod

Run this code in the online editor

← Helm: the package managerClean up →