How to change a leader in etcd cluster?

3/3/2017

I have a etcd cluster running on coreOS. The leader was set to the first member I've started (as expected), but I started the wrong one first, so the leader isn't who it's supposed to be.

How do I change the role of a leader to a different member?

-- mythic
coreos
etcd
kubernetes

1 Answer

6/16/2017

I misunderstood the role of the etcd cluster leader. I was setting up a Kubernetes cluster and I thought the master node should be the etcd cluster leader. But as @heimbert mentioned the point of leader election is that you don't have to worry who the leader is.

-- mythic
Source: StackOverflow