@kodekloud: Why Control Planes Are Odd Numbers? Kubernetes stores cluster state in etcd, requiring a strict majority vote (quorum) to elect leaders and commit updates. During network partitions, isolated nodes might mistakenly declare themselves leaders, causing a catastrophic "split-brain" scenario where multiple nodes accept conflicting data writes simultaneously. Quorum forces minority nodes to safely step down, preventing data drift. This consensus logic makes even-numbered clusters inefficient. A 3-node cluster needs 2 nodes for a majority, surviving 1 failure. A 4-node cluster requires 3 nodes for a majority, meaning it still only tolerates 1 failure. Adding even nodes increases hardware costs and overhead without adding fault tolerance, making odd numbers the golden standard. #Kubernetes #DevOps #SystemDesign #etcd #CloudNative #SRE #Infrastructure"

KodeKloud
KodeKloud
Open In TikTok:
Region: SG
Sunday 14 June 2026 10:30:13 GMT
12707
647
15
39

Music

Download

Comments

mrtng202
mrtn202 :
What if we had 3 in the start, 1 goes down so now we have 2 left, and one more goes down again are we not back in the original situation?
2026-06-14 12:29:54
2
partick1816
Jk 🇧🇪 :
it's because of Raft consensus, it favours odd nodes
2026-06-14 16:10:33
3
aprohorov
Horo :
check on RAID levels
2026-06-15 14:33:09
0
royroyroy827
royroyroy :
Brain split
2026-06-17 20:07:10
0
eedriz__
Eedriz :
proxmox cluster
2026-06-16 01:18:20
0
sandip.sinha7
Sandip Sinha :
Paxos
2026-06-14 14:12:51
0
juanitomint
juanitomint :
Nats clusters also use raft quorum protocol
2026-06-15 03:14:12
0
bennmwangi
Ben Mwangi :
Harshicorp Vault Artemis Queue
2026-06-14 15:20:09
2
siya.gladile
Siya | Cybersecurity :
Very informative. Democracy at work .
2026-06-14 10:33:47
0
josephtole1
Joe :
Databases, virtually all of the relational ones. A lot support 2 node deployments but, functionally, it makes no sense. Majority vote in a quorum is a basic and fundamental rule for typical clustering.
2026-06-14 18:08:53
0
ognjenkvv
ognjenkvv :
just be a chad and run 1 node, fuck high availability
2026-06-26 17:30:47
0
To see more videos from user @kodekloud, please go to the Tikwm homepage.

Other Videos


About