CRI: Remove the mount name and port name.

Per discussion on https://github.com/kubernetes/kubernetes/issues/33873.

Currently the mount name is not being used and also involves some
incorrect usage (sometimes it's referencing a mount name, sometimes
it's referecing a volume name), so we decide to remove it from CRI.

The port name is also not used, so remove it as well.
This commit is contained in:
Yifan Gu
2016-10-03 13:40:18 -07:00
parent d26b4ca285
commit be4e825ac3
5 changed files with 197 additions and 222 deletions

View File

@@ -101,7 +101,6 @@ func (m *kubeGenericRuntimeManager) generatePodSandboxConfig(pod *api.Pod, attem
HostPort: &hostPort,
ContainerPort: &containerPort,
Protocol: &protocol,
Name: &port.Name,
})
}