User-defined Playground

etcd Cluster Playground

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

etcd Cluster playground: A multi-node etcd cluster for exploring clustering and coordination features.
Machines & network
3 VMs ยท 9 vCPU ยท 9GiB RAM
Playground host Internet NAT MASQUERADE local (bridge) 172.16.0.0/24 gw 172.16.0.1/24eth0eth0eth0
VM
vCPU ยท
eth0
/
oci://ghcr.io/sagikazarmark/iximiuz-labs/playgrounds/etcd:live@sha256:75e2ad439ef4aa86c7d035c95272aa3cc9b5d59562a1e23f1dbf1082ce43fc07
VM
vCPU ยท
eth0
/
oci://ghcr.io/sagikazarmark/iximiuz-labs/playgrounds/etcd:live@sha256:75e2ad439ef4aa86c7d035c95272aa3cc9b5d59562a1e23f1dbf1082ce43fc07
VM
vCPU ยท
eth0
/
oci://ghcr.io/sagikazarmark/iximiuz-labs/playgrounds/etcd:live@sha256:75e2ad439ef4aa86c7d035c95272aa3cc9b5d59562a1e23f1dbf1082ce43fc07
About

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

Note

๐Ÿ’ก 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! ๐Ÿš€

Every playground includes
Learn more about playgrounds
Start
Settings