consul

// 下载 consul 然后 建立软连接
// 启动
 consul agent -server -bootstrap-expect 1 -data-dir /tmp/consul -node=ali_1 -bind=127.0.0.1 -ui -client 0.0.0.0
// 添加节点
 curl -X PUT -d '{"weight":1,"max_fails":2,"fail_timeout":10}' http://127.0.0.1:8500/v1/kv/upstreams/servers/49.233.145.188:8002
讨论数量: 0
(= ̄ω ̄=)··· 暂无内容!

请勿发布不友善或者负能量的内容。与人为善,比聪明更重要!