What is the difference between PersistentVolumeReclaimPolicy value - like Delet . . .

anand:
What is the difference between PersistentVolumeReclaimPolicy value - like Delete and Recycle?
Delete will delete the volume when the PVC is deleted but what is then the difference of Recycle, it will also be scrubbed before available for new PVC?

So whats the difference - is it that during Recyle scrubbing of the volume will be only happen when it matches with any PVC and in Delete it happens immediately ?

If anyone knows the concept kindly clarify me - thanks.

Neelesh Korade:
Check this- https://kubernetes.io/docs/concepts/storage/persistent-volumes/#reclaim-policy

recycle scrubs and makes the volume available to be claimed again.

delete deletes the PV as well as the associated storage backing infrastructure.

Mohamed Ayman:
Recycle reclaim policy recycles the volume back into the pool of unbound persistent volumes once it is released from its claim.

Mohamed Ayman:
Delete reclaim policy deletes both the PersistentVolume object from your cluster and the associated storage asset in external infrastructure, such as AWS EBS

Mohamed Ayman:
Also good to know that the default PV reclaim policy is retain and the Kubernetes docs are talking about dynamic provisioned PersistentVolumes when you’re using storage class like AWS or Google Cloud, the default reclaim policy is “Delete” in this case.