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

Document how executors can obtain the IP address of the container

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                avinash.mesos Avinash Sridharan
                Reporter:
                zmanji Zameer Manji
              • Votes:
                1 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated: