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

相关推荐
2501_9333295513 分钟前
技术架构深度解析:Infoseek舆情监测系统的全链路设计与GEO时代的技术实践
开发语言·人工智能·分布式·架构
鬼先生_sir1 小时前
Zookeeper:从入门到精通
分布式·zookeeper·云原生
huohuopro5 小时前
Hbase伪分布式远程访问配置
数据库·分布式·hbase
Francek Chen6 小时前
【大数据存储与管理】NoSQL数据库:01 NoSQL简介
大数据·数据库·分布式·nosql
qq_297574678 小时前
【Kafka 系列・入门第六篇】Kafka 集群部署(3 节点)+ 负载均衡配置
分布式·kafka·负载均衡
不懂的浪漫10 小时前
mqtt-plus 架构解析(一):分层架构与设计哲学
spring boot·分布式·物联网·mqtt·架构
渔民小镇11 小时前
一次编写到处对接 —— 为 Godot/Unity/React 生成统一交互接口
java·分布式·游戏·unity·godot
愈努力俞幸运11 小时前
docker入门,容器,镜像
java·分布式·docker
珠海西格电力11 小时前
红区光伏与零碳园区:管理系统如何破解分布式光伏并网困局
大数据·人工智能·分布式·物联网·能源
大大大大晴天️11 小时前
大数据分布式处理基石:分布式理论深度解析
大数据·分布式