Read logs from the previous crashed container instance.
Section: Logs, Events, and Watches
Get previous container logs
bash
bash
kubectl logs web-abc123 --previous -n paymentsExplanation
Read logs from the previous crashed container instance.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Logs, Events, and Watches