Skip to main content

How does Kubernetes handle split-brain scenarios in multi-master clusters?

Mid Kubernetes
Quick Answer Kubernetes uses etcd's Raft consensus รขโ‚ฌโ€ writes are only committed when a majority (quorum) of etcd members agree. With 3 control plane nodes, 2 must agree. If the network splits into two halves, the side without quorum can't accept writes รขโ‚ฌโ€ it becomes read-only. This prevents split-brain by design. Three or five control plane nodes ensure quorum survives one or two failures.

Answer

API servers rely on etcd quorum; without quorum, writes stop to avoid inconsistent cluster state.
S
SugharaIQ Editorial Team Verified Answer

This answer has been peer-reviewed by industry experts holding senior engineering roles to ensure technical accuracy and relevance for modern interview standards.

Want to bookmark, take notes, or join discussions?

Sign in to access all features and personalize your learning experience.

Sign In Create Account

Source: SugharaIQ

Ready to level up? Start Practice