get kubectl apply logs code example Example: kubectl get logs of deployment kubectl logs -f deployment/ or kubectl logs deployment/