kubernetes/pkg/controller/volume/attachdetach
Jan Safranek 3b94ac228a Don't force detach volume from healthy nodes
6 minute force-deatch timeout should be used only for nodes that are not
healthy. 

In case a CSI driver is being upgraded or it's simply slow, NodeUnstage
can take more than 6 minutes. In that case, Pod is already deleted from the
API server and thus A/D controller will force-detach a mounted volume,
possibly corrupting the volume and breaking CSI - a CSI driver expects
NodeUnstage to succeed before Kubernetes can call ControllerUnpublish.
2022-06-24 12:51:41 +02:00
..
cache check existing size before querying new size from api-server 2022-03-28 11:32:49 -04:00
config generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
metrics fixing unit test failures induced by turning on CSIMigrationGCE 2021-11-16 19:26:30 +00:00
populator fixing unit test failures induced by turning on CSIMigrationGCE 2021-11-16 19:26:30 +00:00
reconciler Don't force detach volume from healthy nodes 2022-06-24 12:51:41 +02:00
statusupdater Add unit tests 2022-02-22 12:21:58 -08:00
testing Pass FsGroup to MountDevice 2021-07-03 16:29:42 -07:00
util CSIMigration feature gate to GA 2022-06-06 21:19:19 +00:00
attach_detach_controller.go CSIMigration feature gate to GA 2022-06-06 21:19:19 +00:00
attach_detach_controller_test.go CSIMigration feature gate to GA 2022-06-06 21:19:19 +00:00
OWNERS Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00