You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mesos.apache.org by Marc Roos <M....@f1-outsourcing.eu> on 2019/08/02 22:51:59 UTC
Task with 2 cni networks, only ip of last network shown in mesos-dns?
Any one else having this also?
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