diff options
| author | Cheng Pan <chengpan@amazon.com> | 2019-03-14 00:24:17 +0000 |
|---|---|---|
| committer | Cheng Pan <chengpan@amazon.com> | 2019-03-14 00:24:17 +0000 |
| commit | be0f96ffadc0ff8dd2cec61e59716683a25d58c9 (patch) | |
| tree | fa8e667c2bcea6fb25490f3fa27610fdf2161f82 | |
| parent | 055fda939d9eec605ad611cf8f8eadbc810c8a54 (diff) | |
Update CSI migration doc for block volume migration
| -rw-r--r-- | contributors/design-proposals/storage/csi-migration.md | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/contributors/design-proposals/storage/csi-migration.md b/contributors/design-proposals/storage/csi-migration.md index ee6dc464..6990d30c 100644 --- a/contributors/design-proposals/storage/csi-migration.md +++ b/contributors/design-proposals/storage/csi-migration.md @@ -292,8 +292,14 @@ existing Pods in the ADC. TODO: Design ### Raw Block - -TODO: Design +In the OperationGenerator, `GenerateMapVolumeFunc`, `GenerateUnmapVolumeFunc` and +`GenerateUnmapDeviceFunc` are used to prepare and mount/umount block devices. At the +beginning of each API, we will check whether migration is enabled for the plugin. If +enabled, volume spec will be translated from the in-tree spec to out-of-tree spec using +CSI as the persistence volume source. + +Caveat: the original spec needs to be used when setting the state of `actualStateOfWorld` +for where is it used before the translation. ### Volume Reconstruction |
