Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-6236

Launch subprocesses associated with specified namespaces.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Reviewable
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • 8

    Description

      Currently there is no standard way in Mesos to launch a child process in a different namespace (e.g. net, mnt). A user may leverage Subprocess and provide its own clone callback, but this approach is error-prone.

      One possible solution is to implement a Subprocess' child hook. In MESOS-5070, we have introduced a child hook framework in subprocess and implemented three child hooks CHDIR, SETSID and SUPERVISOR. We suggest to introduce another child hook SETNS so that other components (e.g., health check) can call it to enter the namespaces of a specific process.

      Attachments

        Issue Links

          Activity

            People

              haosdent@gmail.com haosdent
              qianzhang Qian Zhang
              Alex R Alex R
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: