17.1 Viewing Pod Logs

To view logs for a pod use the following command:
kubectl logs <pod> -n <namespace>
For example:
kubectl logs governancedomain-oim-server1 -n oigns

Note:

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