etcd

etcd-io · etcd-io.etcd

Distributed reliable key-value store for the most critical data of a distributed system

winget install --id etcd-io.etcd --exact --source winget

Latest 3.6.12

Release Notes

Please check out CHANGELOG for a full list of changes. And make sure to read upgrade guide before upgrading etcd (there may be breaking changes).

For installation guides, please check out operating etcd. Latest support status for common architectures and operating systems can be found at supported platforms.

Linux
ETCD_VER=v3.6.12

# choose either URL
GOOGLE_URL=https://storage.googleapis.com/etcd
GITHUB_URL=https://github.com/etcd-io/etcd/releases/download
DOWNLOAD_URL=${GOOGLE_URL}

rm -f /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz
rm -rf /tmp/etcd-download-test && mkdir -p /tmp/etcd-download-test

curl -L ${DOWNLOAD_URL}/${ETCD_VER}/etcd-${ETCD_VER}-linux-amd64.tar.gz -o /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz
tar xzvf /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz -C /tmp/etcd-download-test --strip-components=1 --no-same-owner
rm -f /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz

/tmp/etcd-download-test/etcd --version
/tmp/etcd-download-test/etcdctl version
/tmp/etcd-download-test/etcdutl version

# start a local etcd server
/tmp/etcd-download-test/etcd

# write,read to etcd
/tmp/etcd-download-test/etcdctl --endpoints=localhost:2379 put foo bar
/tmp/etcd-download-test/etcdctl --endpoints=localhost:2379 get foo
macOS (Darwin)
ETCD_VER=v3.6.12

# choose either URL
GOOGLE_URL=https://storage.googleapis.com/etcd
GITHUB_URL=https://github.com/etcd-io/etcd/releases/download
DOWNLOAD_URL=${GOOGLE_URL}

rm -f /tmp/etcd-${ETCD_VER}-darwin-amd64.zip
rm -rf /tmp/etcd-download-test && mkdir -p /tmp/etcd-download-test

curl -L ${DOWNLOAD_URL}/${ETCD_VER}/etcd-${ETCD_VER}-darwin-amd64.zip -o /tmp/etcd-${ETCD_VER}-darwin-amd64.zip
unzip /tmp/etcd-${ETCD_VER}-darwin-amd64.zip -d /tmp && rm -f /tmp/etcd-${ETCD_VER}-darwin-amd64.zip
mv /tmp/etcd-${ETCD_VER}-darwin-amd64/* /tmp/etcd-download-test && rm -rf mv /tmp/etcd-${ETCD_VER}-darwin-amd64

/tmp/etcd-download-test/etcd --version
/tmp/etcd-download-test/etcdctl version
/tmp/etcd-download-test/etcdutl version
Docker

etcd uses gcr.io/etcd-development/etcd as a primary container registry, and quay.io/coreos/etcd as secondary.

ETCD_VER=v3.6.12

rm -rf /tmp/etcd-data.tmp && mkdir -p /tmp/etcd-data.tmp && \
  docker rmi gcr.io/etcd-development/etcd:${ETCD_VER} || true && \
  docker run \
  -p 2379:2379 \
  -p 2380:2380 \
  --mount type=bind,source=/tmp/etcd-data.tmp,destination=/etcd-data \
  --name etcd-gcr-${ETCD_VER} \
  gcr.io/etcd-development/etcd:${ETCD_VER} \
  /usr/local/bin/etcd \
  --name s1 \
  --data-dir /etcd-data \
  --listen-client-urls http://0.0.0.0:2379 \
  --advertise-client-urls http://0.0.0.0:2379 \
  --listen-peer-urls http://0.0.0.0:2380 \
  --initial-advertise-peer-urls http://0.0.0.0:2380 \
  --initial-cluster s1=http://0.0.0.0:2380 \
  --initial-cluster-token tkn \
  --initial-cluster-state new \
  --log-level info \
  --logger zap \
  --log-outputs stderr

docker exec etcd-gcr-${ETCD_VER} /usr/local/bin/etcd --version
docker exec etcd-gcr-${ETCD_VER} /usr/local/bin/etcdctl version
docker exec etcd-gcr-${ETCD_VER} /usr/local/bin/etcdutl version
docker exec etcd-gcr-${ETCD_VER} /usr/local/bin/etcdctl endpoint health
docker exec etcd-gcr-${ETCD_VER} /usr/local/bin/etcdctl put foo bar
docker exec etcd-gcr-${ETCD_VER} /usr/local/bin/etcdctl get foo

Installer type: zip

Architecture Scope Download SHA256
x64 Download B201370EEC589053CB84BC63EBFFF2461E8657A3CDA5BC6CE93C10FABB62846E

Details

Homepage
https://github.com/etcd-io/etcd
License
Apache-2.0
Publisher
etcd-io
Support
https://github.com/etcd-io/etcd/issues

Tags

cncfconsensusdatabasedistributed-databasedistributed-systemsetcdgokey-valuekubernetesraft

Older versions (16)

3.6.11
Architecture Scope Download SHA256
x64 Download 248EC85A4F659C50ADB0F489AAB0A57B7CB8236B7F9222CFB01A5FFC58AC87BF
3.6.10
Architecture Scope Download SHA256
x64 Download D15FDF099B94ACF36E20373F788AF4DB1280D25C0C172E592EBB5AE997843825
3.6.9
Architecture Scope Download SHA256
x64 Download 0FAA43B45770C6A90E986276EC9238780FAB45D9192736BDB348FC855F028899
3.6.8
Architecture Scope Download SHA256
x64 Download E4175EFED446BD05CD5CE75A2BD5ABC13A61A20F20D84E7A9CD7CD6D824BC5A1
3.6.7
Architecture Scope Download SHA256
x64 Download FF5AFA4051477D415132648E0E0A2A97DAE485F37EEEFB365EDD3C1D269E9343
3.6.6
Architecture Scope Download SHA256
x64 Download B98EE0874A186C58EED15243090E863C0E3F1EE2D1C7BAF258A2F8C32688D45F
3.6.5
Architecture Scope Download SHA256
x64 Download F3159688BA12D0776DBC648281512DA10EA2DC019FAD5333B827C9E2587736C7
3.6.4
Architecture Scope Download SHA256
x64 Download 304420FEF694BEC7AB28DBAA9EFEC22B224BF55A3F469703EE95C4010DA076A7
3.6.3
Architecture Scope Download SHA256
x64 Download 52E6528D076E7E2A591051053B4C7C239631AF6A96C096A103AB0D58DA94F1C9
3.6.2
Architecture Scope Download SHA256
x64 Download 197BA66725FF1AE5A7F4992D69E126FFFB5A1BDAB221AEABC1F7A92EED5F8479
3.6.1
Architecture Scope Download SHA256
x64 Download B9579A1D5E303A605A641F46A395448E5D1B7E2F8E269E542B65BDC839EB91E9
3.6.0
Architecture Scope Download SHA256
x64 Download 1C998DD39099AF8FE8D2DF25C23FDF031B6C46C255107C348282786167450D08
3.5.21
Architecture Scope Download SHA256
x64 Download 36FBF1BA0BFF59A06EA994CAC266FA855B2D06BC07FF0A2DAF9A4B112B0AFA24
3.5.18
Architecture Scope Download SHA256
x64 Download C17126FE42852D2EEF181F94B17AF26B6289052DE9D28F8FE5EDB6783F461C59
3.5.9
Architecture Scope Download SHA256
x64 Download 9405FF13576C497B41AE1E1D1CC214D60EFF4DB82398FC68E34AFEF58ACB68AF
3.4.31
Architecture Scope Download SHA256
x64 Download BA0018FA133766C3406E73CAC8D699E9C133A515855910AB31C94AF40B91CC7D