etcd 配置

name: node1

data-dir: "/etcd/data"

#监听URL,用于与其他节点通讯

listen-peer-urls: "http://172.17.217.142:2380" #注意这里是服务器内网ip,通过内网启用的端口服务

list of URLs to listen on for client traffic

listen-client-urls: "http://127.0.0.1:2379,http://172.17.217.142:2379" #注意这里是服务器内网ip

#list of this member's client URLs to advertise to the public

advertise-client-urls: "http://121.43.131.181:2379,http://127.0.0.1:2379" #外网ip,对外暴露的端口

initial-advertise-peer-urls: 'http://121.43.131.181:2380' #外网ip,对外暴露的端口

initial-cluster: node1=http://121.43.131.181:2380,node2=http://121.43.131.84:2380 #外网ip,对外暴露的端口

initial-cluster-token: etcd-cluster

initial-cluster-state: new

相关推荐
真上帝的左手1 小时前
31. 占位-14
分布式·spring cloud·架构·系统架构
TiDB 社区干货传送门2 小时前
当向量走向百亿规模:平凯数据库对下一代分布式向量索引的探索
数据库·分布式
starzy19906 小时前
Structured Streaming Sink 种类与案例:选错输出端,前面全白干
大数据·分布式·spark
Lansonli1 天前
大数据Spark(九十三):Spark HistoryServer
大数据·分布式·spark
jaysee-sjc2 天前
【黑马点评】Day02:优惠券秒杀与分布式锁
java·分布式·nginx·spring·node.js·tomcat·maven
Lansonli3 天前
大数据Spark(九十二):Spark WebUI介绍
大数据·分布式·spark
bksczm4 天前
Redis Cluster 分片集群详解:槽路由、故障判定与扩缩容
数据库·redis·分布式
txxzjmzlh4 天前
RabbitMQ安装
分布式·rabbitmq
AI源码4 天前
基于Spark的期刊推荐系统的设计与实现
大数据·分布式·spark
国科安芯5 天前
CAN FD一升到5Mbps就误码:位定时、终端与共模的现场排查顺序——ASM1042S2S在星载分布式总线中的FAE实践
分布式·安全·架构·canfd·dcdc·抗辐射·载荷