Hi Stephan, Sorry for the delay on follow up on this. I took a quick look at Aurora code, and it's actually quite easy to pipe this information to Mesos (see https://reviews.apache.org/r/45177/ for quick prototype).
I'll take a stab to see how I can get Mesos-DNS to work with this prototype. IMO, if this is something the community is interested, the main questions would be 1) how various fields would be mapped in different Aurora usages, and 2) to which level should opt-in/opt-out configured for populating such information. I actually don't have too much insights on how these usage conventions would be set (through command line of scheduler or job configuration?) Do you think a design doc is the best action here, or a more involved questionnaire about which fields would be useful for community, or what value they should take? On Mon, Mar 7, 2016 at 1:00 AM, Erb, Stephan <stephan....@blue-yonder.com> wrote: > That sounds like a good idea! Great. > > If you go ahead with this, please be so kind and start by posting a short > design document here on mailinglist (similar to those here > https://github.com/apache/aurora/blob/master/docs/design-documents.md, > but probably shorter). > > This will allow us to split the discussion of the design from discussing > the actual implementation. I believe this is necessary, as the > DiscoveryInfo protocol is quite flexible ( > http://mesos.apache.org/documentation/latest/app-framework-development-guide/ > ). > > Thanks, > Stephan > > > ________________________________________ > From: Zhitao Li <zhitaoli...@gmail.com> > Sent: Monday, March 7, 2016 00:05 > To: dev@aurora.apache.org > Subject: Populate DiscoveryInfo in Mesos > > Hi, > > It seems like Aurora does not populate the "discovery" field in either > TaskInfo or ExecutorInfo in mesos.proto > < > https://github.com/apache/mesos/blob/master/include/mesos/mesos.proto#L438 > > > . > > I'm considering adding this to support retrieving port map in Mesos > directly. This would enable us to discovery this information directly from > Mesos side, and also enables us to build one universal service discovery > solution for multiple frameworks including Aurora. > > If no objection, I'll create a JIRA ticket for this task. > > Thanks. > -- > Cheers, > > Zhitao Li > -- Cheers, Zhitao Li