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

create slave.mesos SRV records #200

Closed
lloesche opened this issue Jul 29, 2015 · 0 comments · Fixed by #208
Closed

create slave.mesos SRV records #200

lloesche opened this issue Jul 29, 2015 · 0 comments · Fixed by #208

Comments

@lloesche
Copy link
Contributor

659d1dc added the ability to resolve slave.mesos and get a list of all slave IPs. It would be nice to also get SRV records including the slave ports.

Hints from @jdef

the port shows up in two places in the slave state.json: flags.port and in pid. it's probably pretty simple to add a "pid" field to the slave struct, and then parse the port from that. sample data for pid:

slave(1)@10.2.0.5:5051
you can use mesos-go/upid to parse if you want (mesos-go is already a dep):
https://github.com/mesos/mesos-go/blob/master/upid/upid.go
tsenart pushed a commit that referenced this issue Aug 1, 2015
tsenart pushed a commit that referenced this issue Aug 1, 2015
tsenart pushed a commit that referenced this issue Aug 1, 2015
tsenart pushed a commit that referenced this issue Aug 1, 2015
tsenart pushed a commit that referenced this issue Aug 1, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant