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

相关推荐
ha_lydms16 小时前
AnalyticDB分区、分布键性能优化
android·大数据·分布式·性能优化·分布式计算·分区·analyticdb
pqk6V6Vep16 小时前
Redis 分布式锁进阶第一篇讲解
数据库·redis·分布式
giaz14n9X17 小时前
Redis 分布式锁进阶第六十一篇
数据库·redis·分布式
洛水水18 小时前
消息队列与Kafka详解
分布式·kafka
鸿乃江边鸟20 小时前
Spark中怎么做Spark canonicalize归一化
大数据·分布式·spark
SLD_Allen20 小时前
Kafka分区与消费者的关系kafka分区和消费者线程的关系
分布式·kafka
he___H20 小时前
数据密集型应用系统设计--其一
分布式
珠***格1 天前
Ⅱ型边缘网关|易部署、易扩容、易改造
大数据·人工智能·分布式·能源·边缘计算
无心水1 天前
17、本地多模态|Qwen-VL离线私有化提取敏感PDF完全指南
人工智能·分布式·架构·openclaw·hermes
Solis程序员1 天前
分布式 SingleFlight:从单机请求合并到集群级远程调用去重
分布式