mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-20 09:33:52 +00:00
Split CustomBlockVolumeMapper and CustomBlockVolumeUnmapper
- Move SetUpDevice to BlockVolumeStager - Move MapPodDevice to BlockVolumePublisher - Move TearDownDevice to BlockVolumeUnstager - Move UnmapPodDevice to BlockVolumeUnpublisher - Implement BlockVolumePublisher only in local and csi plugin - Implement BlockVolumeUnstager only in fc, iscsi, rbd, and csi plugin - Implement BlockVolumeStager and BlockVolumeUnpublisher only in csi plugin
This commit is contained in:
@@ -170,7 +170,7 @@ type CustomBlockVolumeMapper interface {
|
||||
// Unique device path across kubelet node reboot is required to avoid
|
||||
// unexpected block volume destruction.
|
||||
// If empty string is returned, the path retuned by attacher.Attach() and
|
||||
// attacher.WaitForAttach() will be sued.
|
||||
// attacher.WaitForAttach() will be used.
|
||||
MapPodDevice() (string, error)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user