Closed catmanjan closed 9 months ago
And we have enabled HonorPVReclaimPolicy for Azure Disk CSI driver on 1.28, so if you are on earlier AKS version:
It is recommended to delete the corresponding PersistentVolumeClaim object instead of the PersistentVolume object when deleting a CSI volume. The external provisioner in the CSI driver will react to the deletion of the PersistentVolumeClaim and based on its reclamation policy, it issues the DeleteVolume call against the CSI volume driver commands to delete the volume. The PersistentVolume object is then deleted.
https://learn.microsoft.com/en-us/azure/aks/csi-storage-drivers
Thanks for reaching out. I'm closing this issue as it was marked with "Answer Provided" and it hasn't had activity for 2 days.
Thanks for reaching out. I'm closing this issue as it was marked with "Answer Provided" and it hasn't had activity for 2 days.
Describe the bug We have a Kubernetes application which creates jobs which create persistent volume claims, through normal operation we have found that we have ended up with a lot of PVC disks in All Resources.
To Reproduce Steps to reproduce the behavior: Not quite sure on these, but....
Expected behavior PVC disks are cleaned up or otherwise
Screenshots