Hi In kubernets everyone have his own scenario to view logs and deployment. I think you have to fallow basic rule got kubernets log first ref: kubectl logs
Please go through this, it have all way of view pod and container logs with best practice with example.