y79.第四章 Prometheus大厂监控体系及实战 -- prometheus的服务发现机制(十)

8.3 consul_sd_configs

https://www.consul.io/

8.3.1 部署consul集群

https://releases.hashicorp.com/consul/

环境:

172.31.2.181
172.31.2.182
172.31.2.183

#node1:
root@node1:~# wget https://releases.hashicorp.com/consul/1.12.1/consul_1.12.1_linux_amd64.zip

root@node1:~# apt -y install unzip

root@node1:~# unzip consul_1.12.1_linux_amd64.zip
root@node1:~# cp consul /usr/local/bin/

root@node1:~# scp consul 172.31.2.182:/usr/local/bin
root@node1:~# scp consul 172.31.2.183:/usr/local/bin

猜你喜欢

转载自blog.csdn.net/qq_25599925/article/details/125034385