Don't share container UTS namespace with pod

kubernetes doesn't share the UTS namespace

Signed-off-by: Mrunal Patel <mpatel@redhat.com>
This commit is contained in:
Mrunal Patel 2016-10-18 14:17:57 -07:00
parent 68a350d9ae
commit 4a7ea899b0

View file

@ -298,7 +298,6 @@ func (s *Server) createSandboxContainer(containerID string, containerName string
for nsType, nsFile := range map[string]string{
"ipc": "ipc",
"uts": "uts",
"network": "net",
} {
nsPath := fmt.Sprintf("/proc/%d/ns/%s", podInfraState.Pid, nsFile)