Affects Version/s: None
Fix Version/s: None
The Mesos protobufs have been extended with basic service discovery info for tasks (see https://reviews.apache.org/r/29473/ for details). This information can be used by systems Mesos-DNS to generate DNS records for service discovery.
To facilitate apps that use multiple ports, it would be great if Marathon allowed the user to specify a name and a protocol when requesting ports. For example, when specifying task X, instead of typing:
we could have:
with the two fields after the port number being optional. This information will be translated by Marathon the ports task info in https://reviews.apache.org/r/29473/ and will lead to the generation of SRV records for names like:
There will also be cases where the users does not care about the specific ports but will want to name the ports assigned by Marathon. For instance, if the task is launched as "/usr/local/bin/X -p1 $PORT1 -p2 $PORT2", we can allow a syntax like: