This quick reference provides a summary of the available options.app
To help explain, we’ll use this imaginary application:less
outergroup
> Group: subgroup
> Service Name: myapp
555
myport
marathon
with the name of your framework.Use one of these options to find the DNS name for your task. You should choose the first option that satisfies your requirements:tcp
outergroupsubgroupmyapp.marathon.l4lb.thisdcos.directory:555
:555
is not a part of the DNS address, but is there to show that this address and port is load balanced as a pair rather than individually.myapp-subgroup-outergroup.marathon.containerip.dcos.thisdcos.directory
myapp-subgroup-outergroup.marathon.agentip.dcos.thisdcos.directory
myapp-subgroup-outergroup.marathon.autoip.dcos.thisdcos.directory
myapp-subgroup-outergroup.marathon.mesos
agentip
. However it is less specific and less performant than the agentip
and thus use is discouraged.Other discovery option(s):ide
_myport._myapp.subgroup.outergroup._tcp.marathon.mesos