etcd v3.4.4 Release Notes

Release Date: 2020-02-24 // about 4 years ago
  • Please check out CHANGELOG for a full list of changes. And make sure to read upgrade guide before upgrading etcd (there may be breaking changes).

    📚 For installation guides, please check out play.etcd.io and operating etcd. Latest support status for common architectures and operating systems can be found at supported platforms.

    🐧 ###### Linux

    ETCD\_VER=v3.4.4# choose either URLGOOGLE\_URL=https://storage.googleapis.com/etcd GITHUB\_URL=https://github.com/etcd-io/etcd/releases/download DOWNLOAD\_URL=${GOOGLE\_URL}rm -f /tmp/etcd-${ETCD\_VER}-linux-amd64.tar.gz rm -rf /tmp/etcd-download-test && mkdir -p /tmp/etcd-download-test curl -L ${DOWNLOAD\_URL}/${ETCD\_VER}/etcd-${ETCD\_VER}-linux-amd64.tar.gz -o /tmp/etcd-${ETCD\_VER}-linux-amd64.tar.gz tar xzvf /tmp/etcd-${ETCD\_VER}-linux-amd64.tar.gz -C /tmp/etcd-download-test --strip-components=1 rm -f /tmp/etcd-${ETCD\_VER}-linux-amd64.tar.gz /tmp/etcd-download-test/etcd --version /tmp/etcd-download-test/etcdctl version
    
    # start a local etcd server/tmp/etcd-download-test/etcd# write,read to etcd/tmp/etcd-download-test/etcdctl --endpoints=localhost:2379 put foo bar /tmp/etcd-download-test/etcdctl --endpoints=localhost:2379 get foo
    

    🍎 ###### macOS (Darwin)

    ETCD\_VER=v3.4.4# choose either URLGOOGLE\_URL=https://storage.googleapis.com/etcd GITHUB\_URL=https://github.com/etcd-io/etcd/releases/download DOWNLOAD\_URL=${GOOGLE\_URL}rm -f /tmp/etcd-${ETCD\_VER}-darwin-amd64.zip rm -rf /tmp/etcd-download-test && mkdir -p /tmp/etcd-download-test curl -L ${DOWNLOAD\_URL}/${ETCD\_VER}/etcd-${ETCD\_VER}-darwin-amd64.zip -o /tmp/etcd-${ETCD\_VER}-darwin-amd64.zip unzip /tmp/etcd-${ETCD\_VER}-darwin-amd64.zip -d /tmp && rm -f /tmp/etcd-${ETCD\_VER}-darwin-amd64.zip mv /tmp/etcd-${ETCD\_VER}-darwin-amd64/\* /tmp/etcd-download-test && rm -rf mv /tmp/etcd-${ETCD\_VER}-darwin-amd64 /tmp/etcd-download-test/etcd --version /tmp/etcd-download-test/etcdctl version
    

    🐳 ###### Docker

    etcd uses gcr.io/etcd-development/etcd as a primary container registry, and quay.io/coreos/etcd as secondary.

    rm -rf /tmp/etcd-data.tmp && mkdir -p /tmp/etcd-data.tmp && \ docker rmi gcr.io/etcd-development/etcd:v3.4.4 || true && \ docker run \ -p 2379:2379 \ -p 2380:2380 \ --mount type=bind,source=/tmp/etcd-data.tmp,destination=/etcd-data \ --name etcd-gcr-v3.4.4 \ gcr.io/etcd-development/etcd:v3.4.4 \ /usr/local/bin/etcd \ --name s1 \ --data-dir /etcd-data \ --listen-client-urls http://0.0.0.0:2379 \ --advertise-client-urls http://0.0.0.0:2379 \ --listen-peer-urls http://0.0.0.0:2380 \ --initial-advertise-peer-urls http://0.0.0.0:2380 \ --initial-cluster s1=http://0.0.0.0:2380 \ --initial-cluster-token tkn \ --initial-cluster-state new \ --log-level info \ --logger zap \ --log-outputs stderr docker exec etcd-gcr-v3.4.4 /bin/sh -c "/usr/local/bin/etcd --version"docker exec etcd-gcr-v3.4.4 /bin/sh -c "/usr/local/bin/etcdctl version"docker exec etcd-gcr-v3.4.4 /bin/sh -c "/usr/local/bin/etcdctl endpoint health"docker exec etcd-gcr-v3.4.4 /bin/sh -c "/usr/local/bin/etcdctl put foo bar"docker exec etcd-gcr-v3.4.4 /bin/sh -c "/usr/local/bin/etcdctl get foo"