摘要: curl -X PUT -d '{"id": "redis-xxx","name": "redis-xxx","address": "127.0.0.1","port": 9121,"tags": ["test"],"checks": [{"http": "http://127.0.0.1:9121 阅读全文
posted @ 2021-08-12 16:33 牧之丨 阅读(424) 评论(0) 推荐(0) 编辑
摘要: 1、consul 是B/C架构。服务端和客户端包是一样的。差别在于启动时候的参数。 1 2 3 4 5 --客户端 ./consul agent -join=172.29.2.65:8301 -bind=172.29.3.164 -client=172.29.3.164 -data-dir=/app 阅读全文
posted @ 2021-08-12 16:13 牧之丨 阅读(1187) 评论(0) 推荐(0) 编辑