kubernetes/pkg/controller/volume/pvprotection
Phil f1a9402082 Log if PV is still in use trying to delete it
Similar to what we have in:
https://github.com/kubernetes/kubernetes/blob/master/pkg/controller/volume/pvcprotection/pvc_protection_controller.go#L181
The objective is to have a easy way to monitor if a PV will enter in Terminating state due to a failed removal when still in use.
This way we can capture the PV log and alert according.
The code is not tested.

Update pv_protection_controller.go

Change call to Infof
2021-09-21 18:05:16 +01:00
..
pv_protection_controller_test.go switch over k/k to use klog v2 2020-05-16 07:54:27 -04:00
pv_protection_controller.go Log if PV is still in use trying to delete it 2021-09-21 18:05:16 +01:00