- Notifications
You must be signed in to change notification settings - Fork10.1k
v3.5.19
Compare
Could not load tags
Nothing to show
{{ refName }}defaultLoading
· 6388 commits to main since this release
Please check outCHANGELOG for a full list of changes. And make sure to readupgrade guide before upgrading etcd (there may be breaking changes).
For installation guides, please check outplay.etcd.io andoperating etcd. Latest support status for common architectures and operating systems can be found atsupported platforms.
Linux
ETCD_VER=v3.5.19# choose either URLGOOGLE_URL=https://storage.googleapis.com/etcdGITHUB_URL=https://github.com/etcd-io/etcd/releases/downloadDOWNLOAD_URL=${GOOGLE_URL}rm -f /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gzrm -rf /tmp/etcd-download-test&& mkdir -p /tmp/etcd-download-testcurl -L${DOWNLOAD_URL}/${ETCD_VER}/etcd-${ETCD_VER}-linux-amd64.tar.gz -o /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gztar xzvf /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz -C /tmp/etcd-download-test --strip-components=1rm -f /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz/tmp/etcd-download-test/etcd --version/tmp/etcd-download-test/etcdctl version/tmp/etcd-download-test/etcdutl 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.5.19# choose either URLGOOGLE_URL=https://storage.googleapis.com/etcdGITHUB_URL=https://github.com/etcd-io/etcd/releases/downloadDOWNLOAD_URL=${GOOGLE_URL}rm -f /tmp/etcd-${ETCD_VER}-darwin-amd64.ziprm -rf /tmp/etcd-download-test&& mkdir -p /tmp/etcd-download-testcurl -L${DOWNLOAD_URL}/${ETCD_VER}/etcd-${ETCD_VER}-darwin-amd64.zip -o /tmp/etcd-${ETCD_VER}-darwin-amd64.zipunzip /tmp/etcd-${ETCD_VER}-darwin-amd64.zip -d /tmp&& rm -f /tmp/etcd-${ETCD_VER}-darwin-amd64.zipmv /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/tmp/etcd-download-test/etcdutl version
Docker
etcd usesgcr.io/etcd-development/etcd
as a primary container registry, andquay.io/coreos/etcd
as secondary.
ETCD_VER=v3.5.19rm -rf /tmp/etcd-data.tmp&& mkdir -p /tmp/etcd-data.tmp&& \ docker rmi gcr.io/etcd-development/etcd:${ETCD_VER}||true&& \ docker run \ -p 2379:2379 \ -p 2380:2380 \ --mount type=bind,source=/tmp/etcd-data.tmp,destination=/etcd-data \ --name etcd-gcr-${ETCD_VER} \ gcr.io/etcd-development/etcd:${ETCD_VER} \ /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 stderrdockerexec etcd-gcr-${ETCD_VER} /usr/local/bin/etcd --versiondockerexec etcd-gcr-${ETCD_VER} /usr/local/bin/etcdctl versiondockerexec etcd-gcr-${ETCD_VER} /usr/local/bin/etcdutl versiondockerexec etcd-gcr-${ETCD_VER} /usr/local/bin/etcdctl endpoint healthdockerexec etcd-gcr-${ETCD_VER} /usr/local/bin/etcdctl put foo bardockerexec etcd-gcr-${ETCD_VER} /usr/local/bin/etcdctl get foo
Assets10
Uh oh!
There was an error while loading.Please reload this page.
1 person reacted