logo
icon

etcd4 (for PostgreSQL HA)

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

template cover
Deployed2 times
Publishercanyugs
Created2025-11-29
Services
service icon
Tags
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