d2iq-archive / mesos-dns

DNS-based service discovery for Mesos.
https://mesosphere.github.com/mesos-dns
Apache License 2.0
483 stars 137 forks source link

only showing the 2nd network #541

Open f1-outsourcing opened 5 years ago

f1-outsourcing commented 5 years ago

Have launched a task like this

"networks": [ 
    { "mode": "container", "name": "cni-apps" },
    { "mode": "container", "name": "cni-apps-public", "labels": {"CNI_ARGS": "IP=x.x.x.x"} }
    ],

dig +short only shows me the ip address of the last network.

curl http://192.168.10.151:5050/tasks?task_id=sendmail.instance-257020f4-b574-11e9-bdb3-0050563001a1._app.7 | jq . Shows both ip addresses

using v0.7.0-rc2

f1-outsourcing commented 4 years ago

When is this finally being fixed?

f1-outsourcing commented 4 years ago

any one?