etcd is a distributed key-value store that provides strongly consistent, linearizable reads and writes across a small cluster of machines. Consistency comes from Raft: one member is elected leader, every write is appended to a replicated log, and a write is acknowledged only once a majority of members have durably persisted it. Quorum is therefore the governing fact of etcd operations — a three-member cluster tolerates one failure, a five-member cluster tolerates two, and an even member count adds cost without adding fault tolerance.
The v3 data model is a flat, revision-versioned keyspace stored in a bbolt B+tree. Every write increments a global revision, and previous revisions are retained until compaction removes them. That single design choice gives etcd its most useful properties: reads at a historical revision, watches that stream ordered events from any revision without missing anything, and mini-transactions that compare a key's revision or version before writing. Leases attach a TTL to keys, which is what makes registration, expiry and leader election expressible in the API rather than in application code.
In practice etcd is met through Kubernetes, where it holds every API object and its health is indistinguishable from cluster health. That places specific operational demands on it: write latency is dominated by fsync on the write-ahead log, so disk behaviour matters more than CPU; the default storage quota triggers a NOSPACE alarm that makes the cluster read-only; and compaction plus defragmentation are routine work rather than emergencies.
Why this skill matters now
Every Kubernetes cluster has an etcd behind it, and most teams operating one have never read its API, tuned its disks, or restored it from a snapshot. That gap stays invisible until the day the control plane will not accept writes, and then it becomes the only thing that matters.
The failure modes are specific and learnable. A cluster that loses quorum does not degrade gracefully — it stops accepting writes entirely, and recovering it means understanding member lists, data directories and forced single-member restore rather than guessing at restart order. A cluster that fills its storage quota goes read-only with an alarm that survives restarts until it is explicitly disarmed. A cluster on slow or shared disk produces leader elections and apply latency that surface as unexplained API server timeouts several layers up.
Beyond Kubernetes, etcd remains the default coordination primitive for distributed systems that need leader election, distributed locking or service registration with expiry. Building those correctly on leases, transactions and watches — rather than on polling and hope — is a skill that transfers well past any single platform.