etcd is the distributed key-value store that stores all Kubernetes cluster state using Raft consensus.
etcd is the distributed key-value store that stores all Kubernetes cluster state using Raft consensus.
etcd uses Raft consensus algorithm to maintain consistency across 3+ nodes. Raft elects a leader per term; all writes go through the leader and are replicated to followers before committing. etcd stores all K8s objects as protobufs in a hierarchical namespace (/registry/pods, /registry/services, etc.).
Key takeaways
Related concepts
Explore topics that connect to this one.
Ready to see how this works in the cloud?
Switch to Career Paths for structured paths (e.g. Developer, DevOps) and provider-specific lessons.
View role-based pathsSign in to track your progress and mark lessons complete.
Questions? Discuss in the community or start a thread below.
Join DiscordSign in to start or join a thread.