![]() During state reconstruction when kubelet restarts, outerVolueSpecName cannot be recovered by scanning the disk directories. But this information is used by volume manager to check whether pod's volume is mounted or not. There are two possible cases: 1. pod is not deleted during kubelet restarts so that desired state should have the information. reconciler.updateState() will use this inforamtion to update. 2. pod is deleted during this period, reconciler has to use InnerVolumeSpecName, but it should be ok since this information will not be used for volume cleanup (umount) |
||
---|---|---|
.. | ||
cache | ||
populator | ||
reconciler | ||
BUILD | ||
OWNERS | ||
volume_manager_test.go | ||
volume_manager.go |