v0.4.6
Changelog
- Fix long-term timer leak (#900, #875, #868, #904)
- Fix
Running
field in standby_info file (#881) - Add
quorum=true
query parameter for GET requests (#866, #883) - Add
Access-Control-Allow-Headers
header for CORS requests (#886) - Various documentation improvements (#907, #882)
Getting Started
OS X
To get started on OSX run the following in a terminal:
curl -L https://github.com/coreos/etcd/releases/download/v0.4.6/etcd-v0.4.6-darwin-amd64.zip -o etcd-v0.4.6-darwin-amd64.zip.
unzip etcd-v0.4.6-darwin-amd64.zip.
cd etcd-v0.4.6-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/v0.4.6/etcd-v0.4.6-linux-amd64.tar.gz -o etcd-v0.4.6-linux-amd64.tar.gz
tar xzvf etcd-v0.4.6-linux-amd64.tar.gz
cd etcd-v0.4.6-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 /etc/ssl/certs/:/etc/ssl/certs/ quay.io/coreos/etcd:v0.4.6
Open another terminal:
docker run --net=host quay.io/coreos/etcd:v0.4.6 /etcdctl set mykey "this is awesome"
docker run --net=host quay.io/coreos/etcd:v0.4.6 /etcdctl get mykey