【发布时间】:2018-07-06 00:06:24
【问题描述】:
无论我使用默认配置还是自定义(减少 cpu,因为我正在试用),我的 maraton-lb 都无法启动,并且在健康检查中不停地失败。我做错了什么?
日志:
[ALERT] 184/143843 (321) : Starting frontend marathon_http_in: cannot bind socket [0.0.0.0:80]
[ALERT] 184/143843 (321) : sendmsg logger #1 failed: No such file or directory (errno=2)
[ALERT] 184/143843 (321) : sendmsg logger #2 failed: No such file or directory (errno=2)
[ALERT] 184/143843 (321) : sendmsg logger #1 failed: No such file or directory (errno=2)
[ALERT] 184/143843 (321) : sendmsg logger #2 failed: No such file or directory (errno=2)
Received task health update, healthy: false
Received killTask for task marathon-lb.cbfaf218-7f97-11e8-aef1-70b3d5800001
马拉松-json:
{
"marathon-lb": {
"instances": 1.0, "mem": 1048.0, "cpus": 1
}
}
dcos package install --options=marathon-config.json marathon-lb
仅供参考,我尝试了很多配置。 Azure docs、marathon docs、mesos docs 和各种不同的变体。总是一样的结果。
【问题讨论】: