The distributed key-value store that holds all of Kubernetes, explained. Learn etcd’s data model and MVCC, leases and watches, Raft consensus and quorum, cluster operations, backup and disaster recovery — remembered with spaced repetition.
etcd is a distributed, strongly consistent key-value store — a CNCF-graduated project best known as the datastore behind Kubernetes, where it holds every API object as the cluster’s single source of truth. When you run kubectl apply, the object ultimately lands in etcd.
This track goes past “etcd stores cluster state” into how it actually works: the flat, sorted key space with MVCC revisions, leases and watches, and the Raft consensus that keeps members in agreement — leader election, quorum, and log replication. It also covers the operational side that matters in production: membership and learners, TLS and RBAC, and disaster recovery with snapshots, compaction and defragmentation.
It uses spaced repetition so the concepts stick — the layer that decides whether your control plane stays up when a node dies.
Each module is a set of flashcards — 60 in total. Answer, review, and watch your knowledge grow from seed to full bloom.
Key-value model, revisions, MVCC, leases, watches, transactions and read consistency
12 cardsLeader election, quorum, terms, log replication and how etcd stays consistent under failure
12 cardsetcdctl, ports, membership, learners, TLS, RBAC, health checks and monitoring
12 cardsSnapshots, restore, compaction, defragmentation, storage quotas, the WAL and disk latency
12 cardsetcd as the Kubernetes datastore — apiserver access, quorum loss, topology, /registry and leases
12 cardsA taste of the real flashcards. Pick an answer, then reveal the explanation.
What is etcd?
How many member failures can a 5-member etcd cluster tolerate?
What does defragmentation do in etcd?
Which Kubernetes component talks to etcd?
Each card is one practical concept with multiple options. Pick what you think is right.
See the correct option plus a clear explanation, and a link to deeper docs when one is available.
A spaced-repetition engine (SM-2 or FSRS) resurfaces each card just before you would forget it.
etcd holds all cluster state. When it degrades, the control plane degrades — knowing it is core to running Kubernetes.
Lost quorum, NOSPACE alarms, slow disks — the real control-plane outages happen in etcd, and this is where you learn to reason about them.
Raft — leader election, quorum, log replication — is a foundational idea that recurs across modern distributed systems.
Snapshots, compaction and defrag are the difference between a recoverable cluster and a lost one.
It helps but is not required. The track explains etcd on its own terms, then shows how Kubernetes uses it — so it works both as a Kubernetes deep-dive and as a standalone look at a distributed key-value store.
No. It covers the Raft consensus ideas, but most of the deck is practical: etcdctl, membership, TLS, snapshots, compaction, defrag and the failure modes you actually hit in production.
About 10 minutes a day. Spaced repetition means short, frequent sessions beat long cramming, so the concepts stick.
Yes, completely free. No registration or credit card is required, and all your progress is stored locally in your browser.
Plant your first seed today. Ten minutes a day is all it takes to understand what keeps Kubernetes running.