Skip to content
ADHDecode
  1. Home
  2. Articles
  3. Etcd

Etcd Articles

48 articles

Compact and Defragment etcd to Reclaim Disk Space

etcd's disk usage grows over time because it keeps old versions of keys, and unless you tell it otherwise, it will keep them forever.

3 min read

Configure etcd Database Quota to Prevent Storage Exhaustion

etcd's storage quota is surprisingly easy to hit, and when it does, it can bring down your entire Kubernetes cluster because etcd is the single source o.

6 min read

Schedule Regular etcd Defragmentation to Maintain Performance

etcd defragmentation is a background maintenance task that reclaims space on disk and improves read performance by reorganizing its underlying key-value.

3 min read

Recover an etcd Cluster from Quorum Loss

etcd's primary failure mode is losing quorum, meaning a majority of its members can no longer communicate with each other.

3 min read

Bootstrap an etcd Cluster with Discovery Service

Bootstrapping an etcd cluster with a discovery service means you're setting up a distributed key-value store where new nodes can automatically find and .

2 min read

Why etcd Requires Low-Latency SSD Storage

etcd, the distributed key-value store that Kubernetes relies on for cluster state, is not just sensitive to storage latency; it's fundamentally designed.

4 min read

Implement Leader Election in Your App with etcd

etcd's leader election is surprisingly more about distributed consensus than just picking one node. Let's say you have a distributed system where you ne.

3 min read

Embed etcd Directly into a Go Application

You can embed etcd directly into a Go application, which sounds like a neat trick to avoid managing a separate etcd cluster for development or small dep.

4 min read

How Kubernetes Uses etcd as Its State Store

Kubernetes doesn't just use etcd; it's fundamentally built on etcd's ability to reliably store and serve distributed state.

3 min read

Check etcd Endpoint Health and Status with etcdctl

Check etcd Endpoint Health and Status with etcdctl — practical guide covering etcd setup, configuration, and troubleshooting with real-world examples.

3 min read

etcd Commands Every Operator Should Know

etcd, the distributed key-value store, is the beating heart of Kubernetes, and understanding its command-line tools is crucial for any operator.

3 min read

Access etcd Over HTTP with the gRPC Gateway

Access etcd Over HTTP with the gRPC Gateway — practical guide covering etcd setup, configuration, and troubleshooting with real-world examples.

3 min read

Monitor etcd Health with Prometheus Metrics and Alerts

Monitor etcd Health with Prometheus Metrics and Alerts. Prometheus doesn't actually monitor etcd; it collects metrics from etcd that describe its health.

4 min read

Configure etcd Initial Cluster with Static Bootstrap

The most surprising thing about etcd's static bootstrap is that it's not about "bootstrapping" in the sense of dynamically discovering peers; it's about.

2 min read

Read, Write, and Delete Keys in etcd with etcdctl and API

etcd's powerful, distributed key-value store is the backbone of many critical systems, but understanding how to manipulate its data is key to managing t.

3 min read

Run an External etcd Cluster for Kubernetes High Availability

An external etcd cluster for Kubernetes isn't just a backup; it’s the primary data store for your entire cluster, and running it externally offers a mor.

3 min read

Tune etcd Heartbeat and Election Timeouts to Reduce Latency

Tuning etcd's heartbeat and election timeouts can dramatically improve cluster responsiveness, but it’s not about making things "faster" in a vacuum; it.

3 min read

How etcd Leader Election Works with Raft Consensus

The most surprising thing about etcd's leader election is that it's not a competition, but a coordinated dance where a leader volunteers and the rest of.

3 min read

Add Learner Members to etcd for Safe Cluster Expansion

etcd's membership is static by default, meaning you have to manually add new members and then tell existing members about them.

3 min read

Manage Short-Lived Keys in etcd with Leases and TTL

etcd leases are the unsung heroes of ephemeral state management, ensuring that critical information doesn't linger indefinitely, hogging resources or be.

3 min read

Build Distributed Locks in Your App with etcd Mutexes

etcd's distributed mutexes allow you to build robust distributed locking directly into your application logic, bypassing the need for external coordinat.

3 min read

Use the etcd Maintenance API for Defrag and Snapshots

The etcd Maintenance API is your secret weapon for keeping your cluster healthy and recoverable, letting you reclaim space and create point-in-time back.

2 min read

Add and Remove etcd Members Without Downtime

etcd members can be added or removed without downtime by leveraging its distributed consensus protocol to maintain quorum and data consistency throughou.

3 min read

Stretch an etcd Cluster Across Multiple Regions

etcd's quorum requirement means that a majority of nodes must be available for the cluster to operate, and this doesn't change when you stretch it acros.

2 min read

How etcd MVCC Versioning Stores and Retrieves History

etcd doesn't actually store historical versions of your data; it stores the current version and a compact index representing the start of the current tr.

3 min read

Recover an etcd Cluster After a Network Partition

Recover an etcd Cluster After a Network Partition — practical guide covering etcd setup, configuration, and troubleshooting with real-world examples.

2 min read

Configure etcd Peer-to-Peer TLS Authentication

etcd peers don't actually verify each other's identity by default when talking TLS, which is a bit like letting people into your house without checking .

3 min read

Benchmark etcd Performance with the Official Tool

The most surprising thing about benchmarking etcd is that it's not just about measuring how fast it is; it's about understanding its consistency under l.

2 min read

Query etcd Keys by Prefix and Range

You can actually query etcd keys not just by prefix, but also by a specific range, which is incredibly useful for understanding and managing your cluste.

3 min read

Monitor etcd with Prometheus and Grafana Dashboards

Monitor etcd with Prometheus and Grafana Dashboards — practical guide covering etcd setup, configuration, and troubleshooting with real-world examples.

3 min read

How etcd Raft Consensus Keeps Cluster State Consistent

etcd's Raft consensus algorithm is the unsung hero that prevents your distributed system from devolving into a chaotic, inconsistent mess.

3 min read

Create etcd Users and Roles for Fine-Grained Access Control

etcd doesn't actually enforce fine-grained access control based on users and roles out of the box; you have to enable it.

3 min read

Debug etcd Slow Followers Falling Behind the Leader

The etcd leader is dropping heartbeats to followers, causing them to fall behind and potentially triggering a leader election, which is a major disrupti.

4 min read

Back Up and Restore etcd Data with Snapshots

The most surprising thing about etcd backups is that you're not just backing up data, you're backing up the entire distributed state machine in a way th.

2 min read

Bootstrap an etcd Cluster Statically Without Discovery

The most surprising thing about bootstrapping an etcd cluster statically is that it's actually less complex than you'd think, even without a discovery s.

3 min read

Understand etcd Storage Limits and How to Stay Under Them

etcd storage is designed to be a tiny, highly consistent, distributed key-value store that powers Kubernetes, and its limits are far tighter than you'd .

3 min read

Generate and Configure TLS Certificates for etcd

The most surprising thing about TLS certificates for etcd is that they aren't just for encryption; they're primarily for authentication and authorizatio.

3 min read

Build Atomic Operations in etcd with Compare-and-Swap Transactions

etcd's compare-and-swap CAS transactions are the bedrock for building robust, distributed state machines, not just simple key-value storage.

3 min read

Perform a Rolling etcd Cluster Upgrade Safely

The most surprising thing about etcd upgrades is that they are designed to be non-disruptive, even though etcd is the beating heart of Kubernetes.

2 min read

Use the etcd v3 gRPC API Directly

The most surprising thing about using etcd's v3 gRPC API directly is how much simpler it makes distributed consensus for many applications, despite the .

3 min read

Watch for Key Changes in etcd with the Watch API

etcd's watch API doesn't just tell you that something changed; it tells you precisely what changed, down to the key-value pair and its revision number.

3 min read

Handle etcd Watcher Reconnects in Your Application

An etcd watcher reconnecting isn't a failure, it's a feature designed to keep your application state synchronized even when network hiccups occur.

2 min read

Manage etcd Alarms and Quota Exceeded Errors

etcdserver: mvcc: database space exceeded is the alarm you're seeing, which means the etcd database has grown too large and is preventing new writes.

3 min read

Enable Authentication and RBAC in etcd

etcd authentication and RBAC is enabled by configuring TLS certificates for both the client and server, and then defining Role-Based Access Control RBAC.

3 min read

Authenticate to etcd from the CLI with TLS and Tokens

Authenticate to etcd from the CLI with TLS and Tokens — practical guide covering etcd setup, configuration, and troubleshooting with real-world examples.

3 min read

Configure etcd Client-to-Server TLS Authentication

etcd's TLS authentication is fundamentally about ensuring that only authorized clients can talk to your etcd cluster, and that the clients are certain t.

3 min read

Set Up a Production etcd Cluster with TLS and HA

An etcd cluster's primary role is to be the single source of truth for distributed system state, and its availability is paramount because it's the linc.

4 min read

Size Your etcd Cluster: 3 vs 5 vs 7 Nodes Explained

Adding more nodes to etcd doesn't always make it faster or more reliable; it's a trade-off between write throughput and fault tolerance, and the sweet s.

3 min read
ADHDecode

Complex topics, finally made simple

Courses

  • Networking
  • Databases
  • Linux
  • Distributed Systems
  • Containers & Kubernetes
  • System Design
  • All Courses →

Resources

  • Cheatsheets
  • Debugging
  • Articles
  • About
  • Privacy
  • Sitemap

Connect

  • Twitter (opens in new tab)
  • GitHub (opens in new tab)

Built for curious minds. Free forever.

© 2026 ADHDecode. All content is free.

  • Home
  • Learn
  • Courses
Esc
Start typing to search all courses...
See all results →
↑↓ navigate Enter open Esc close