Print logs from a single-container pod.
Section: Logs, Exec, and Ephemeral Debugging
Read pod logs
bash
bash
kubectl logs <pod> -n <namespace>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, Exec, and Ephemeral Debugging