If a PersistentVolume has a Reclaim Policy of Delete and its associated PVC is deleted, what happens to the underlying storage?

Prepare for the KCNA Certification Test. Study with flashcards, multiple-choice questions, and detailed explanations to enhance your understanding of Kubernetes Cloud Native concepts. Ace your exam!

Multiple Choice

If a PersistentVolume has a Reclaim Policy of Delete and its associated PVC is deleted, what happens to the underlying storage?

Explanation:
When a PV has a reclaim policy of Delete, deleting the PVC triggers cleanup of the backing storage. The external storage resource (like a cloud disk) is deleted by the storage provisioner, so the underlying storage is removed along with the volume. This is why the correct behavior is that the storage is deleted with the volume. If the policy were Retain, the data would stay and the PV would be released for potential reuse with manual intervention; Recycle is deprecated and not used in modern clusters. The reclaim policy does not automatically rebind the PV to a new PVC.

When a PV has a reclaim policy of Delete, deleting the PVC triggers cleanup of the backing storage. The external storage resource (like a cloud disk) is deleted by the storage provisioner, so the underlying storage is removed along with the volume. This is why the correct behavior is that the storage is deleted with the volume. If the policy were Retain, the data would stay and the PV would be released for potential reuse with manual intervention; Recycle is deprecated and not used in modern clusters. The reclaim policy does not automatically rebind the PV to a new PVC.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy