k3s/pkg/cloudprovider
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
..
providers Merge pull request #31978 from jsafrane/detach-before-delete 2016-09-25 18:55:32 -07:00
OWNERS update pkg/cloudprovider OWNERS to spread the load 2016-09-08 15:13:21 -07:00
cloud.go implement azure cloudprovider 2016-07-26 14:50:33 -07:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
plugins.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00