ETCD multimaster cluster without kubernetes #14193
Unanswered
DemianTinkiel
asked this question in
Q&A
Replies: 1 comment 5 replies
-
Maybe you should map docker's port to local so the two containers can communicate. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm setting up an ETCD cluster, unrelated to kubernetes. I would like to set it up such that there is 2 active leaders. Is there a way to achieve this? I have the following docker-compose
Starting this I see one of the nodes will be elected as leader but disconnecting them from each other via
docker network disconnect nw1 etcd2
doesn't make either become their own leader. I tried the same with 6 nodes (with a split in the middle such that it would become 2 clusters of 3), same result.I tried searching for this but all references seem to point to a multimaster kubernetes cluster. Is there a way to do it without kubernetes?
Beta Was this translation helpful? Give feedback.
All reactions