@yichengq yichengq released this Mar 31, 2015 · 10251 commits to master since this release

Assets 10

Changelog

  • etcd now supports IPv6
  • etcd now verifies the heartbeat and election flags earlier in the startup process to avoid runtime panics.
  • etcd now ignores extra files found in the data directory during start up
  • etcd proxy no longer fails to restart after initial configuration
  • The -initial-cluster flag is no longer required when bootstrapping a single member cluster with the -name flag set
  • Fix store statistic reporting issue
  • Removal of consensus-based cluster restarts for upgrades due to bugs in etcd 0.4's go-raft implementation
  • add ‘etcdctl import’ command to import the migration snap generated in v0.4.8 etcd to 2.0 etcd cluster
  • etcdctl takes an additional 2379, which is the IANA port of etcd client URL, as the default port
  • etcd no longer builds debugging tools into bin/ directory

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.8/etcd-v2.0.8-darwin-amd64.zip -o etcd-v2.0.8-darwin-amd64.zip
unzip etcd-v2.0.8-darwin-amd64.zip
cd etcd-v2.0.8-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.8/etcd-v2.0.8-linux-amd64.tar.gz -o etcd-v2.0.8-linux-amd64.tar.gz
tar xzvf etcd-v2.0.8-linux-amd64.tar.gz
cd etcd-v2.0.8-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.8

ACI/Rocket

To get started with Rocket on Linux run the following in a terminal:

rkt run coreos.com/etcd:v2.0.8