Update CSI migration doc for block volume migration

This commit is contained in:
Cheng Pan 2019-03-14 00:24:17 +00:00
parent 055fda939d
commit be0f96ffad
1 changed files with 7 additions and 1 deletions

View File

@ -292,8 +292,14 @@ existing Pods in the ADC.
TODO: Design
### Raw Block
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.
TODO: Design
Caveat: the original spec needs to be used when setting the state of `actualStateOfWorld`
for where is it used before the translation.
### Volume Reconstruction