logo
icon

etcd5 (for PostgreSQL HA)

Add the 5th etcd node to expand your PostgreSQL HA cluster to 5 nodes for maximum fault tolerance.

template cover
部署次數2
發布者canyugs
建立於2025-11-29
模板內的服務
service icon
標籤
DatabaseetcdDistributed SystemHigh Availability

etcd5 (5th Node for PostgreSQL HA)

Step 1: Register Node

curl -X POST http://etcd1:2379/v3/cluster/member/add -d '{"peerURLs":["http://etcd5: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 all nodes:

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