18.1 Viewing Pod Logs

To view logs for a pod use the following command:
kubectl logs <pod> -n <namespace>
For example:
kubectl logs accessdomain-oam-server1 -n oamns

Note:

If you add -f to the command, then the log will be streamed.