You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Avinash Sridharan (JIRA)" <ji...@apache.org> on 2016/09/13 23:11:20 UTC

[jira] [Created] (MESOS-6156) Make the `network/cni` isolator nesting aware

Avinash Sridharan created MESOS-6156:
----------------------------------------

             Summary: Make the `network/cni` isolator nesting aware
                 Key: MESOS-6156
                 URL: https://issues.apache.org/jira/browse/MESOS-6156
             Project: Mesos
          Issue Type: Task
          Components: containerization
    Affects Versions: 1.1.0
            Reporter: Avinash Sridharan
            Assignee: Avinash Sridharan
             Fix For: 1.1.0


In pods, child containers share the network and UTS namespace with the parent containers. This implies that during `prepare` and `isolate` the `network/cni` isolator needs to be aware the parent-child relationship between containers to make the following decisions:
a) During `prepare` a container should be allocated a new network namespace and UTS namespace only if the container is a top level container.
b) During `isolate` the network files (/etc/hosts, /etc/hostname, /etc/resolv.conf) should be created only for top level containers. The network files for child containers will just be symlinks to the parent containers network files.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)