Skip to content

Best way to rename an etcd cluster without downtime? #16403

Answered by jmhbnz
ronwildt asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for the clarification, ok so assuming it is nodes you want to rename and for a cluster with some fault tolerance, i.e. 3+ nodes I was able to do the following:

Step 1- Initial cluster startup

Node config files

name: node1
force-new-cluster: false
initial-advertise-peer-urls: http://localhost:2381
listen-peer-urls: "http://localhost:2381"
advertise-client-urls: "http://localhost:2377"
listen-client-urls: "http://localhost:2377"
initial-cluster: node1=http://localhost:2381,node2=http://localhost:2382,node3=http://localhost:2383
name: node2
force-new-cluster: false
initial-advertise-peer-urls: http://localhost:2382
listen-peer-urls: "http://localhost:2382"
advertise-client-urls: "http…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@ronwildt
Comment options

@jmhbnz
Comment options

Answer selected by jmhbnz
@ronwildt
Comment options

@jmhbnz
Comment options

@ronwildt
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants