v2.0.5
Changelog
- Fix a minor voting issue in raft. Under unique scenarios it was possible that two nodes in a raft cluster could be elected leader for a specific term.
- Fix unexpected HTTPS to HTTP downgrade when TLS certs and keys are not provided.
- Fix an early file unlock issue in WAL. This fix was done to improve safety of the etcd WAL implementation in preparation for the etcd 2.1.0 release.
- Fix frequent i/o timeout issues during peer communication.
- Improved documentation around setting up an etcd cluster.
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.0.5/etcd-v2.0.5-darwin-amd64.zip -o etcd-v2.0.5-darwin-amd64.zip
unzip etcd-v2.0.5-darwin-amd64.zip
cd etcd-v2.0.5-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.0.5/etcd-v2.0.5-linux-amd64.tar.gz -o etcd-v2.0.5-linux-amd64.tar.gz
tar xzvf etcd-v2.0.5-linux-amd64.tar.gz
cd etcd-v2.0.5-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 4001:4001 -v /usr/share/ca-certificates/:/etc/ssl/certs quay.io/coreos/etcd:v2.0.5
ACI/Rocket
To get started with Rocket on Linux run the following in a terminal:
rkt run coreos.com/etcd:v2.0.5