The pod is deleted and the file is gone. Pods forget too.

You'll learn to
keep data past a container restart (emptyDir, hostPath)
Recap
- 1volumes in the pod, volumeMounts in the container
- 2emptyDir lives as long as the pod
- 3hostPath stays on one node: labs only
Check yourself
A container in a pod crashes and restarts. What happens to its emptyDir?
7.3
Stamp this lesson
Watched it and passed the check? Mark it in your logbook.
