PVCs (Persistent Volume Claim) with reclaim policy of "Retain", if deleted from Kubernetes side, does not get deleted from the vSAN Storage.
The consumed space on the vSAN datastore does not decrease.
In the vSAN Capacity Overview tab, the deleted PVC's storage utilization shows up under User objects > Improved virtual disks > Other improved virtual disks.
The vSAN objects for the deleted PVC appear as unassociated on vSAN.
VMware vSAN 7.0.x
This is expected behavior for PVCs with reclaim policy "Retain" on the Kubernetes side.
With the "Retain" policy, if a user deletes a PersistentVolumeClaim, the corresponding PersistentVolume will not be deleted. Instead, it is moved to the Released phase, where all of its data can be manually recovered.
This policy is useful if the volume contains critical data.
Due to this, the storage space is not released from the vSAN datastore.
If the PVCs need to be permanently deleted and its space utilization is to be released, follow the steps below:
WARNING: THIS OPERATION IS IRREVERSIBLE.
WARNING: DOUBLE-CHECK ALL PARAMETERS - PVC NAME, VMDK PATH, ddb.fcd.name.
There can be two scenarios here:
1. The PVC has not yet been deleted from Kubernetes side:
2. The PVC has already been deleted from Kubernetes side: