Re:Ask HN: Those running K8s in house, can you please explai...
by dvfjsdhgfv on Tuesday June 25, 2024 @10:32AM
(#40789149)
> why etcd NEEDS more than 2
The consensus algorithm (Raft in this case) requires that a majority agrees, so you need to have an odd number of nodes (and 1 wouldn't make sense, hence 3 is the minimum, and in practice works very well).
The consensus algorithm (Raft in this case) requires that a majority agrees, so you need to have an odd number of nodes (and 1 wouldn't make sense, hence 3 is the minimum, and in practice works very well).