当服务更改时,consur用户界面不会更新服务。问题是,我启动了一个example.json到marathon,它在consul用户界面中显示为一个服务,但当我从marathon中删除该应用时,它不会从consur ui中删除它。可能是什么?
ifmq2ha21#
我使用ciscocloud/mesos-consul向consul注册mesos应用程序,效果很好
{ "id": "/mesos-consul", "cmd": null, "cpus": 0.33, "mem": 128, "disk": 0, "instances": 1, "container": { "type": "DOCKER", "volumes": [], "docker": { "image": "ciscocloud/mesos-consul", "network": "BRIDGE", "portMappings": [ { "containerPort": 0, "hostPort": 0, "servicePort": 10004, "protocol": "tcp", "labels": {} } ], "privileged": false, "parameters": [], "forcePullImage": false } }, "portDefinitions": [ { "port": 10004, "protocol": "tcp", "labels": {} } ], "args": [ "--zk=zk://zookeeper-hostname:2181/mesos", "--mesos-ip-order=mesos", "--log-level=err", "--refresh=1s" ] }
1条答案
按热度按时间ifmq2ha21#
我使用ciscocloud/mesos-consul向consul注册mesos应用程序,效果很好