I am working on a snapshotting of PV before POD deletion completes. I have written a controller which works on delete event of POD, but by the time it triggers delete event POD deletion is already completed.
I want to do below things automatically between POD termination signal and deleted.
- Take snapshot of PV
- Update PVC with Snapshot DataSource
- Delete PV
Any ideas on how to implement this flow ...