Skip to content

v2.1.0-alpha.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@yichengq yichengq released this 17 Jun 05:29

Main features

new security features

better logging

  • [GH2707] leveled logging is supported now. Users could set expected log level for etcd and its subpackages.
  • [GH2923 2926] move verbose repeated logging to DEBUG log level

more stable transportation

  • [GH2323] To reduce the connection creation overhead and make raft transportation more efficient and stable, etcd now keeps long term connections with other peers.
  • [GH2620] To reduce the raft command commit latency, each raft append message now attached with a commit index. The commit latency is reduced from 100ms to 1ms under light load (<100 writes/second).
  • [GH2544] etcd/raft now provides better internal flow control. It significantly reduce the possibility of raft message loss, and improves the cpu/memory efficiency.

Getting Started

OS X

To get started on OSX run the following in a terminal:

curl -L  https://github.com/coreos/etcd/releases/download/v2.1.0-alpha.1/etcd-v2.1.0-alpha.1-darwin-amd64.zip -o etcd-v2.1.0-alpha.1-darwin-amd64.zip
unzip etcd-v2.1.0-alpha.1-darwin-amd64.zip
cd etcd-v2.1.0-alpha.1-darwin-amd64
./etcd

Open another terminal:

# Press enter to background etcd
./etcdctl set mykey "this is awesome"
./etcdctl get mykey

Linux

To get started on Linux run the following in a terminal:

curl -L  https://github.com/coreos/etcd/releases/download/v2.1.0-alpha.1/etcd-v2.1.0-alpha.1-linux-amd64.tar.gz -o etcd-v2.1.0-alpha.1-linux-amd64.tar.gz
tar xzvf etcd-v2.1.0-alpha.1-linux-amd64.tar.gz
cd etcd-v2.1.0-alpha.1-linux-amd64
./etcd

Open another terminal:

# Press enter to background etcd
./etcdctl set mykey "this is awesome"
./etcdctl get mykey

Docker

To get started with Docker on Linux run the following in a terminal:

docker run -p 2379:2379 -v /usr/share/ca-certificates/:/etc/ssl/certs quay.io/coreos/etcd:v2.1.0-alpha.1

ACI/Rocket

To get started with Rocket on Linux run the following in a terminal:

rkt run coreos.com/etcd:v2.1.0-alpha.1