Access the data from the persistent volume in released state

Somiya 246 Reputation points


I am using the PV and PVC using azure managed disk for the storage in my aks setup, but currently my pv is in release state. How to change the state of pv from release to bound in order to access the data stored?? Also if I delete PV and create again, will the data be intact ??


Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,883 questions
Azure Disk Storage
Azure Disk Storage
A high-performance, durable block storage designed to be used with Azure Virtual Machines and Azure VMware Solution.
581 questions
0 comments No comments
{count} votes

Accepted answer
  1. deherman-MSFT 33,941 Reputation points Microsoft Employee

    I understand you are wanting to reclaim a PV and make it accessible again. Please let me know if I am misunderstanding the issue.

    Since the Reclaim Policy of the PV is Retain the data will still exist after the PV is deleted. You can read about this in the Kubernetes documentation. This also shows the process for recreation which is to create a new PersistentVolume with the same storage asset definition. This blog post which walks through this step-by-step please review and see if it is helpful for you.

    Hope this helps! Let me know if you have further questions and I will be happy to assist.


    Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

0 additional answers

Sort by: Most helpful