@yichengq yichengq released this Aug 21, 2015 · 9369 commits to master since this release

Assets 10

Changelog

  • [GH 3129] refuse to start when listening on HTTPS and the TLS cert and/or key is missing
  • [GH 2234] log a warning when listening on HTTP and TLS is set
  • [GH 3149] fix start etcd failure after failing to use proxy mode in member-mode data directory
  • [GH 3143] improve output for command line flag parsing errors
  • [GH 3257] improve retry mechanism when using the etcd discovery service
  • [GH 3118] limit the max election timeout setting to 50 seconds
  • [GH 3249] fix struct alignment issue when running under arm64
  • [GH 2905] specify request timeout caused by leader election
  • [GH 3235] improve error response codes for key etcd requests
  • [GH 3238] support cluster health check when auth is enabled
  • [GH 3332] log the etcd version during startup
  • [GH 3350] fix peer-url and initial-cluster mismatch issue when using discovery SRV
  • stop spamming snapshot logging at INFO level when there is a member failure

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.1.2/etcd-v2.1.2-darwin-amd64.zip -o etcd-v2.1.2-darwin-amd64.zip
unzip etcd-v2.1.2-darwin-amd64.zip
cd etcd-v2.1.2-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.1.2/etcd-v2.1.2-linux-amd64.tar.gz -o etcd-v2.1.2-linux-amd64.tar.gz
tar xzvf etcd-v2.1.2-linux-amd64.tar.gz
cd etcd-v2.1.2-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 -p 2379:2379 -v /usr/share/ca-certificates/:/etc/ssl/certs quay.io/coreos/etcd:v2.1.2

ACI/Rocket

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

rkt run coreos.com/etcd:v2.1.2