v2.1.0-alpha.0
Pre-release
Pre-release
Main features
new security features
- [GH2242]
/v2/security
added the to the v2 API, providing Users, Roles and Basic Authentication
etcdctl support forthcoming, but the model and REST API are in place - Documentation available at https://github.com/coreos/etcd/blob/master/Documentation/security_api.md
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.0/etcd-v2.1.0-alpha.0-darwin-amd64.zip -o etcd-v2.1.0-alpha.0-darwin-amd64.zip
unzip etcd-v2.1.0-alpha.0-darwin-amd64.zip
cd etcd-v2.1.0-alpha.0-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.0/etcd-v2.1.0-alpha.0-linux-amd64.tar.gz -o etcd-v2.1.0-alpha.0-linux-amd64.tar.gz
tar xzvf etcd-v2.1.0-alpha.0-linux-amd64.tar.gz
cd etcd-v2.1.0-alpha.0-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.0
ACI/Rocket
To get started with Rocket on Linux run the following in a terminal:
rkt run coreos.com/etcd:v2.1.0-alpha.0