Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Add record pointing to marathon leader #327

Open
discordianfish opened this issue Oct 15, 2015 · 4 comments
Open

Add record pointing to marathon leader #327

discordianfish opened this issue Oct 15, 2015 · 4 comments
Labels

Comments

@discordianfish
Copy link
Contributor

We have leader.mesos to easily determine the leading mesos master. Having something similar for marathon helps in scenarios where you need to figure out the current leading marathon instance. For example while debugging a scheduling problem to access the logfiles.

@jdef
Copy link
Contributor

jdef commented Oct 15, 2015

sounds like this might be part of a larger story: frameworks should be able to advertise additional services to mesos-dns (perhaps via plugins?)

@discordianfish
Copy link
Contributor Author

Yes, I guess this deserves a bigger discussion. Will do that with Tomas once he's back. I just wanted to add this issue so I don't forget about it. Was debugging a marathon issue and realized it was too time consuming to figure out the marathon leader.

@tsenart
Copy link
Contributor

tsenart commented Oct 19, 2015

@discordianfish: Please elaborate on the proposal in the description of the issue.

@graphex
Copy link

graphex commented May 25, 2016

I'm currently on 0.4.0, has this been implemented (0.5.2 being the newest at this time)?
I can get /v1/hosts/marathon.mesos which appears to return the marathon leader, but for consistency I would like to get an SRV record for the marathon leader. Based on https://docs.mesosphere.com/usage/service-discovery/mesos-dns/service-naming/ it seems like i should be able to get a record at /v1/services/_marathon._tcp.marathon.mesos but am unable to do so in 0.4.0. Unclear if that would return the leader or the set of marathon masters, but API to return both of those from the HTTP API would be very useful.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants