Kubernetes TroubleshootingDifficulty: Intermediate
Amazon EKS & kubectl Troubleshooting Cheat Sheet
Essential kubectl commands, pod status debugging (CrashLoopBackOff, ImagePullBackOff), and node health diagnostics for SREs.
Emergency Command Reference
Check Node Memory & CPU PressureLists cluster nodes ordered by memory consumption.
kubectl top nodes --sort-by=memoryStream Logs from Previous Failed ContainerFetches logs from the crashed container instance.
kubectl logs <pod-name> -c <container> --previousExecute Interactive Bash Debugging ShellSpawns an interactive shell inside a running container.
kubectl exec -it <pod-name> -- /bin/shKubernetes & EKS Quick Debugging Reference
A curated list of emergency troubleshooting commands for diagnosing broken pods, node pressure, and ingress routing issues.