v2.2.1
Changelog
- [GH 3482] support Nodes type in client package for sorting
- [GH 3506] improve panic logging output when starting etcd with corrupted data dir
- [GH 3530 GH 3611] fix non-customizable request timeout in etcdctl
- [GH 3556] improve output when missing initial flags
- [GH 3564] improve output when retrying unavailable endpoint in proxy
- [GH 3594] etcd no longer hangs forever when fails to finish discovery
- [GH 3596] fix Content-Type header for version API
- [GH 3633] improve logging output when systemd notify fails
- [GH 3635] support literal IPv6 address with zone in URL flags
- [GH 3655 GH 3681] update dependency for bug fix and restorable dependency list
- [GH 3685] fix mk command in etcdctl
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.2.1/etcd-v2.2.1-darwin-amd64.zip -o etcd-v2.2.1-darwin-amd64.zip
unzip etcd-v2.2.1-darwin-amd64.zip
cd etcd-v2.2.1-darwin-amd64
./etcd
Open another terminal:
./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.2.1/etcd-v2.2.1-linux-amd64.tar.gz -o etcd-v2.2.1-linux-amd64.tar.gz
tar xzvf etcd-v2.2.1-linux-amd64.tar.gz
cd etcd-v2.2.1-linux-amd64
./etcd
Open another terminal:
./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 --name etcd quay.io/coreos/etcd:v2.2.1
docker exec etcd /etcdctl set foo bar
For advanced usage, please check our docker guide.
ACI/rkt
To get started with rkt on Linux run the following in a terminal:
# for more info about rkt command line, see related doc at https://github.com/coreos/rkt/blob/master/Documentation/commands.md#rkt-run
rkt run --volume data-dir,kind=host,source=/tmp --mds-register=false coreos.com/etcd:v2.2.1