kubelet: Introduce volume manager.

The volume manager book-keeps the information for the volume mounts
on the kubelet, so we can avoid passing the volumeMap around.
This commit is contained in:
Yifan Gu
2015-04-15 17:40:07 -07:00
parent f9156c281a
commit af1e9f737f
4 changed files with 106 additions and 33 deletions

View File

@@ -87,6 +87,7 @@ func TestRunOnce(t *testing.T) {
readinessManager: kubecontainer.NewReadinessManager(),
podManager: podManager,
os: FakeOS{},
volumeManager: newVolumeManager(),
}
kb.networkPlugin, _ = network.InitNetworkPlugin([]network.NetworkPlugin{}, "", network.NewFakeHost(nil))