Stream logs in real time.
Section: Logs, Events, and Watches
Follow pod logs
bash
bash
kubectl logs -f web-abc123 -n paymentsExplanation
Stream logs in real time.
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
Get logs for named container
Read logs from a specific container in a multi-container pod.
Get previous container logs
Read logs from the previous crashed container instance.