我正在建立一个停靠的mesos+马拉松集群。我有mesos可以很好地与从属服务器一起工作,但是我在尝试通过发送到marathon的json来推送mesos dns应用程序时不断遇到错误。我发送:
{
"container": {
"docker": {
"image": "192.168.0.38:5000/mesos-dns:generic",
"privileged": true,
"forcePullImage": true,
"network": "BRIDGE"
}
},
"id": "testdns2",
"env": {
"MASTERS": "192.168.0.38:5050",
"RESOLVERS": "192.168.0.38",
"ZOOKEEPER_MESOS": "zk://192.168.0.38:2181/mesos"
}
}
为了正确创建应用程序,我在mesos slave上得到了以下错误:
I1204 23:35:59.347939 14308 exec.cpp:134] Version: 0.25.0
I1204 23:35:59.350044 14313 exec.cpp:208] Executor registered on slave b9cef37c-d444-40c9-967b-01b9b3e98abf-S1
WARNING: Your kernel does not support swap limit capabilities, memory limited without swap.
ERROR: 2015/12/04 22:35:59 config.go:118: json: cannot unmarshal string into Go value of type []string
docker版本1.8.3,mesos 0.25,marathon 0.9
知道json哪里有问题吗?
暂无答案!
目前还没有任何答案,快来回答吧!