v3.0.3
Today we're announcing etcd v3.0.3. This is primarily a bug fix release.
Bug fixes
- GH5918: etcdmain: only get initial cluster setting if the member is not initialized
- GH5921: raft: do not change RecentActive when resetState for progress
- GH5937: Revert "Dockerfile: use 'ENTRYPOINT' instead of 'CMD'"
- GH5948: vendor: update grpc (Fix GH5871)
Other changes
- GH5885: etcdserver: fix TestSnap
- GH5906: e2e: add basic upgrade tests
- GH5916: etcdctl: only takes 127.0.0.1:2379 as default endpoint
Getting started
Linux
curl -L https://github.com/coreos/etcd/releases/download/v3.0.3/etcd-v3.0.3-linux-amd64.tar.gz -o etcd-v3.0.3-linux-amd64.tar.gz
tar xzvf etcd-v3.0.3-linux-amd64.tar.gz && cd etcd-v3.0.3-linux-amd64
./etcd --version
Git SHA: 24a90ba
Go Version: go1.6.2
Go OS/Arch: linux/amd64
# start a local etcd server
./etcd
# write,read to etcd
ETCDCTL_API=3 ./etcdctl --endpoints=localhost:2379 put foo "bar"
ETCDCTL_API=3 ./etcdctl --endpoints=localhost:2379 get foo
Mac OS (Darwin)
curl -L https://github.com/coreos/etcd/releases/download/v3.0.3/etcd-v3.0.3-darwin-amd64.zip -o etcd-v3.0.3-darwin-amd64.zip
unzip etcd-v3.0.3-darwin-amd64.zip && cd etcd-v3.0.3-darwin-amd64
./etcd --version
ACI / rkt
rkt trust --prefix coreos.com/etcd
rkt run --volume data-dir,kind=host,source=/tmp --mds-register=false coreos.com/etcd:v3.0.3
For more details, please check rkt commands.
Docker
docker run --name etcd quay.io/coreos/etcd:v3.0.3
For more details, please check Docker guide.