kubernetes/pkg/controller/volume/persistentvolume
Kubernetes Submit Queue 4785f6f517 Merge pull request #31978 from jsafrane/detach-before-delete
Automatic merge from submit-queue

Do not report error when deleting an attached volume

Persistent volume controller should not send warning events to a PV and mark the PV as failed when the volume is still attached.

This happens when a user quickly deletes a pod and associated PVC - PV is slowly detaching, while the PVC is already deleted and the PV enters Failed phase.

`Deleter.Deleter` can now return `tryAgainError`, which is sent as INFO to the PV to let the user know we did not forget to delete the PV, however the PV stays in Released state. The controller tries again in the next sync (15 seconds by default).

Fixes #31511
2016-09-25 18:55:32 -07:00
..
options Reorganize volume controllers and manager 2016-07-01 18:50:25 -07:00
binder_test.go move StorageClass to its own group 2016-09-06 08:41:17 -04:00
controller.go Merge pull request #31978 from jsafrane/detach-before-delete 2016-09-25 18:55:32 -07:00
controller_base.go move informer and controller to pkg/client/cache 2016-09-15 12:50:08 -07:00
controller_test.go move informer and controller to pkg/client/cache 2016-09-15 12:50:08 -07:00
delete_test.go Update cloud providers 2016-09-15 10:33:57 +02:00
framework_test.go Merge pull request #27714 from jsafrane/event-recycle 2016-09-22 12:18:53 -07:00
index.go Merge pull request #30690 from wongma7/claimref-capacity 2016-08-21 16:02:14 -07:00
index_test.go Merge pull request #30690 from wongma7/claimref-capacity 2016-08-21 16:02:14 -07:00
OWNERS Reorganize volume controllers and manager 2016-07-01 18:50:25 -07:00
provision_test.go Do not report warning event when an nknown provisioner is requested 2016-09-07 09:11:41 +02:00
recycle_test.go move StorageClass to its own group 2016-09-06 08:41:17 -04:00
volume_host.go Fix default resource limits (node capacities) for downward api volumes 2016-08-16 14:41:17 -04:00