After the deployment is completed in Kuberenetes and you want to get logs continuously from the specific namespace during the runtime, you can use either one command,

kubectl logs -n <NAMESPACE> -f <POD_NAME> -c <CONTAINER_NAME>
or
kubectl logs -n <NAMESPACE> -p <POD_NAME> -c <CONTAINER_NAME> --previous=false

-f, --follow=false: Specify if the logs should be streamed.
-c, --container: specify the container name