14.2 Viewing Pod Logs
To view logs for a pod use the following
command:
kubectl logs <pod> -n <namespace>For
example:kubectl logs oud-ds-rs-0 -n oudnsNote:
If you add-f to the command, then the log will
be streamed.