summaryrefslogtreecommitdiff
path: root/contributors/design-proposals
diff options
context:
space:
mode:
authorKubernetes Prow Robot <k8s-ci-robot@users.noreply.github.com>2019-03-26 18:48:48 -0700
committerGitHub <noreply@github.com>2019-03-26 18:48:48 -0700
commit92a50cbb510d27ba5d6a91cccbea60a3cd3c3c3e (patch)
treed60ee3bc5a07d2fe255edce6a141e1a81e31a406 /contributors/design-proposals
parent64b6424a4652bac9927c5f749c1a3c6e1c0d4f47 (diff)
parentbe0f96ffadc0ff8dd2cec61e59716683a25d58c9 (diff)
Merge pull request #3423 from leakingtapan/raw
Update CSI migration doc for block volume migration
Diffstat (limited to 'contributors/design-proposals')
-rw-r--r--contributors/design-proposals/storage/csi-migration.md10
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 87b75c6e..fab6592c 100644
--- a/contributors/design-proposals/storage/csi-migration.md
+++ b/contributors/design-proposals/storage/csi-migration.md
@@ -291,8 +291,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