Kubernetes Troubleshooting Flow

1. kubectl get pods — look at STATUS.

2. kubectl describe pod X — read Events at the bottom.

3. kubectl logs X (add --previous for crashed containers).

4. ImagePullBackOff → wrong image/tag or registry auth. CrashLoopBackOff → the app exits; read logs. Pending → no node fits (resources/taints).