# Return a snapshot of the logs from pod <pod-name>.

kubectl logs <pod-name>



# Start streaming the logs from pod <pod-name>. This is similar to the 'tail -f' Linux command.

kubectl logs -f <pod-name>