k8wiz
Kubernetes
Easy
Storage

What happens to a pod's data when it is deleted?

Select your answer:

Show answer and explanation

Answer: The data is lost unless it was stored in a PersistentVolume

Explanation

When a pod is deleted, all data in its containers' filesystems is lost. To persist data beyond the lifecycle of a pod, you must use PersistentVolumes and PersistentVolumeClaims, or other external storage solutions.

Read more about Kubernetes