What volume types are you familiar with?
Answer
- emptyDir: created when a Pod assigned to a node and ceases to exist when the Pod is no longer running on that node
- hostPath: mounts a path from the host itself. Usually not used due to security risks but has multiple use-cases where it's needed like access to some internal host paths (
/sys,/var/lib, etc.)