Tag: #etcd
Writing on GPUs, LLMs, MLOps, Kubernetes — and mindset · 12 posts
Air-Gapped Kubernetes Day 2 Operations — How to Stop a Cluster From Dying of Certificate Expiry
What actually kills an air-gapped cluster is usually not some spectacular outage but certificate expiry. Let a year go by with nobody touching it and the API server quietly stops, and with no internet you cannot search y
2026-07-31 · 20 min read #kubernetes#air-gap#day2-operations#etcd#certificateRaft Consensus Complete Guide 2025: Leader Election, Log Replication, Safety, etcd/Consul in Practice
etcd, Consul, CockroachDB, and TiDB all use Raft because it is understandable. Leader Election, Log Replication, Safety Properties, Membership Change, and Snapshots — a deep dive with real-world system analysis.
2026-04-15 · 10 min read #raft#consensus#distributed-systems#leader-election#log-replicationKubernetes Internals Complete Guide — etcd, API Server, Controller, Scheduler, kubelet, CRI/CNI/CSI Deep Dive (2025)
Everything about Kubernetes internals — history from Google Borg, etcd Raft consensus, API Server REST and watch protocol, scheduler filter/score algorithms, controller manager reconciliation loops, kubelet Pod lifecycle
2026-04-15 · 11 min read #kubernetes#etcd#controller#scheduler#kubeletDistributed Consensus Deep Dive — Paxos, Raft, ZAB, FLP, etcd, ZooKeeper, KRaft, BFT, CRDT (2025)
Why is it hard for a distributed system to merely "agree"? The shock of the FLP impossibility result, Lamport's Paxos and its infamous unintelligibility, how Raft changed the landscape, ZooKeeper's ZAB, the birth of KRaf
2026-04-15 · 15 min read #distributed-systems#consensus#paxos#raft#etcdDistributed Locks Complete Guide 2025: Redlock, Zookeeper, etcd, Fencing Token, Safe Implementation
Everything about distributed locks! Why it is hard, single Redis lock, Redlock algorithm, Martin Kleppmann critique, Zookeeper/etcd locks, Fencing Token, real-world implementation, pitfalls to avoid.
2026-04-15 · 13 min read #distributed-lock#redis#redlock#zookeeper#etcdetcd Watch and Lease Mechanism Analysis
Deep analysis of etcd Watch and Lease mechanisms. Covers watchable store internals, event history and generation, gRPC streaming, compacted revision handling, Lease grant/revoke/keepalive, TTL implementation, and Kuberne
2026-03-20 · 4 min read #etcd#distributed-systems#open-source-internalsetcd Cluster Operations: Disaster Recovery and Performance Tuning
Covers essential etcd cluster operations including member management (add, remove, learner promotion), snapshots and backup/restore, disaster recovery (quorum loss, data corruption), and performance tuning (disk latency,
2026-03-20 · 4 min read #etcd#distributed-systems#open-source-internalsetcd Storage Engine: BoltDB and MVCC
Deep analysis of etcd storage engine internals. Covers BoltDB B+ tree structure, page types, transaction model, MVCC revision, key index, generation concepts, compaction and defragmentation, and backend batch optimizatio
2026-03-20 · 5 min read #etcd#distributed-systems#open-source-internalsetcd Architecture Internals: Raft Consensus Algorithm
A deep dive into etcd core architecture. Covers the Raft consensus algorithm (leader election, log replication, safety guarantees), internal structures like EtcdServer, raftNode, and apply loop, BoltDB-backed MVCC key-va
2026-03-20 · 6 min read #etcd#distributed-systems#open-source-internalsetcd and Kubernetes: API Server Integration Analysis
Analyzes etcd and Kubernetes API Server integration. Covers how kube-apiserver uses etcd (storage backend, codec, transformer), key hierarchy (/registry/ prefix), API Server Watch Cache (cacher, watchCache, store), etcd
2026-03-20 · 3 min read #etcd#distributed-systems#open-source-internalsDistributed Lock Pattern Comparison: Redis Redlock vs ZooKeeper vs etcd — Consistency and Availability Trade-offs
Compare distributed lock implementation patterns that guarantee mutual exclusion in distributed systems. Analyze consistency, availability, and performance trade-offs through the Redis Redlock algorithm and Martin Kleppm
2026-03-12 · 17 min read #architecture#distributed-lock#redis#redlock#zookeeperetcd Backup & Restore Complete Guide — CKA Exam Essential Hands-on
A complete guide to backing up and restoring etcd — the brain of a Kubernetes cluster — with practical commands. A must-know topic for the CKA exam and an essential skill for production operations.
2026-03-02 · 7 min read #kubernetes#etcd#cka#backup#restore