Relative Content

Tag Archive for kubernetespersistent-volumespersistent-volume-claimscephfs

How to confirm data security after adjust Kubernetes PV’s reclaimPolicy and delete the pvc bound with such PV

I have encountered such problem. Clients want to migrate data from namespace A to namespace B. The data is stored in Ceph and managed by ceph csi. The default reclaim policy is delete. So If I want to complete this, I need to change PV’s reclaim policy from delete to retain and then delete pvc. After this, I can generate new pvc binding with the PV by volumeName field. It works if I operate manually. However, the scale is not that small. I want to make this process automatically. However, it causes data loss.