Closed LuoYuWuSheng closed 3 months ago
Hi @LuoYuWuSheng, can you please set the parameter reclaimPolicy: Delete
in your StorageClass configuration and try it. This will ensure that the access point is automatically deleted when the PersistentVolume (PV) is deleted.
Assuming issue was resolved as there is no further response. Please feel free to open if you are facing the issue still.
We need reclaimPolicy: Retain
to maintains data according to production plan. But when we want to drop PV, AP leaked
/kind bug
What happened? when you delete Released PV, efs csi will not clear it's access point. This will case AP num increase quickly, and reach EFS AP limits which is 1000.
What you expected to happen? when delete Released PV, efs csi should clear it's access point.
How to reproduce it (as minimally and precisely as possible)? create an pv use below SC,and delete it. Then you will still find ap in efs.
Anything else we need to know?:
Environment
kubectl version
): 1.27Please also attach debug logs to help us better diagnose