How To View Logs from a k8s Container After it Crashed

1

List all pods in the kube-system namespace.

kubectl get po -n <namespace>
2

Retrieve logs from the previous instance of the storage-provisioner pod in the kube-system namespace.

kubectl logs -n <namespace> <pod> --previous