@Shreyas Arani Apologies for the delay in response and all the inconvenience caused because of the issue.
If these are dynamic PVCs then they will be removed with the infrastructure resource group at the time of removing AKS cluster as the infra resource group is deleted during AKS delete. You can refer to this for more information.
Volumes defined and created as part of the pod lifecycle only exist until you delete the pod. Pods often expect their storage to remain if a pod is rescheduled on a different host during a maintenance event, especially in Stateful Sets. A persistent volume (PV) is a storage resource created and managed by the Kubernetes API that can exist beyond the lifetime of an individual pod. More information here.
So to extend the life span of the PVCs beyond the life span of the AKS cluster:
- In case of dynamic disk PVCs back up and restore the disks. More info here
- Or you can use statically provisioned Disk PVCs in a different resource group and mount it as volume as mentioned here.
Hope it helps!!!
Please "Accept as Answer" if it helped so it can help others in community looking for help on similar topics.