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

[jira] [Created] (MESOS-6281) Document how executors can obtain the IP address of the container

Zameer Manji created MESOS-6281:
-----------------------------------

             Summary: Document how executors can obtain the IP address of the container
                 Key: MESOS-6281
                 URL: https://issues.apache.org/jira/browse/MESOS-6281
             Project: Mesos
          Issue Type: Improvement
            Reporter: Zameer Manji
            Assignee: Avinash Sridharan
            Priority: Minor


From the discussion in #containerizer on Slack.

Documentation would be nice on the best practice on how an executor can obtain the IP address of the container. Some options were discussed:

* Should it check {{LIBPROCESS_IP}}?
* Should it use {{getaddrinfo(3)}}?
* Should {{NetworkInfo}} be exposed to the executor?

A concrete use case of this would be for thermos (Aurora's executor). It needs to figure out an ip address to announce to ZK for discovery.



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