I am getting this error message. When launching a task with portMappings
and two container networks. What is the proper way to configure this?
general: networkNames must be a single item list when hostPort is
specified and more than 1 container network is defined
"networks": [
{ "mode": "container", "name": "cni-storage" },
{ "mode": "container", "name": "cni-apps-public", "labels":
{"vendorid": "ext-testing"}}
],
"container": {
"type": "MESOS",
"portMappings": [
{"hostPort": 0, "name": "health", "protocol": "tcp"},
{"hostPort": 0, "name": "metrics", "protocol": "tcp"}
]
}
[1]
https://jira.d2iq.com/browse/MARATHON-8760