get logs of crashed pod code example Example: kubernetes get pod crash logs kubectl logs <podname> --previous