User-defined Playground

etcd Cluster Playground

A multi-node etcd cluster for exploring clustering and coordination features.

Startup configuration
node-01
node-02
node-03
etcd Cluster playground: A multi-node etcd cluster for exploring clustering and coordination features.

This environment is set up for learning how to work with etcd in a cluster configuration.

💡 This is a multi-node playground for etcd. For a simpler setup, try the single-node playground.

🔧 System Components

  • etcd: The distributed key-value store daemon running on multiple nodes.

🛠️ Tools

  • etcdctl: The official command-line client for etcd.
  • etcdutl: Utility for etcd database operations and maintenance.

🎯 Getting Started

Basic Cluster Operations

# Check etcd version and cluster health
etcdctl version
etcdctl endpoint health

# View cluster members
etcdctl member list

# Check cluster-wide health and status
etcdctl endpoint health --cluster
etcdctl endpoint status --cluster

Client Load Balancing

Set endpoints to all cluster nodes for client-side load balancing:

export ETCDCTL_ENDPOINTS=$(etcdctl member list -w json | jq -r '[.members[].clientURLs[]] | join(",")')

⚙️ Configuration

Check out the single-node playground to learn about configuring etcd.

📚 Learn More

🧪 Playgrounds

Happy learning! 🚀

Start
Settings