Standard debugging flow:
1. kubectl get pods → Identify failing or pending pods
2. kubectl describe pod → Look at events and status
3. kubectl logs → View application logs
4. kubectl logs –previous → View logs from a crashed container
5. kubectl exec -it – sh → Access a running container shell
6. kubectl debug -it –image=busybox –target=[PODNAME] → Attach an ephemeral debug container
Important distinction: