logo
icon

etcd4 (for PostgreSQL HA)

Add the 4th etcd node to expand your PostgreSQL HA cluster from 3 to 4 nodes.

template cover
部署次数2
发布者canyugs
创建于2025-11-29
模版内的服务
service icon
标签
DatabaseetcdDistributed SystemHigh Availability

etcd4 (4th Node for PostgreSQL HA)

Step 1: Register Node

curl -X POST http://etcd1:2379/v3/cluster/member/add -d '{"peerURLs":["http://etcd4:2380"]}'

Step 2: Deploy & Verify

Deploy this template, then verify:

curl -X POST http://etcd1:2379/v3/cluster/member/list

Step 3: Update Patroni (Recommended)

Update ETCD3_HOSTS in all Patroni services to include the new node:

etcd1:2379,etcd2:2379,etcd3:2379,etcd4:2379