kubectl get all logs code example
Example: kubectl get logs of deployment
kubectl logs -f deployment/<name-of-deployment>
or
kubectl logs deployment/<name-of-deployment>
kubectl logs -f deployment/<name-of-deployment>
or
kubectl logs deployment/<name-of-deployment>