diff --git a/README.md b/README.md index e421f04396f..e73f3c57814 100644 --- a/README.md +++ b/README.md @@ -161,7 +161,7 @@ Note: Upstart/SysV init based OS types are not supported. - Core - [kubernetes](https://github.com/kubernetes/kubernetes) v1.30.4 - - [etcd](https://github.com/etcd-io/etcd) v3.5.12 + - [etcd](https://github.com/etcd-io/etcd) v3.5.17 - [docker](https://www.docker.com/) v26.1 - [containerd](https://containerd.io/) v1.7.21 - [cri-o](http://cri-o.io/) v1.30.3 (experimental: see [CRI-O Note](docs/CRI/cri-o.md). Only on fedora, ubuntu and centos based OS) diff --git a/cache/etcd-amd64 b/cache/etcd-amd64 new file mode 100644 index 00000000000..3570e402b7a --- /dev/null +++ b/cache/etcd-amd64 @@ -0,0 +1,7 @@ +38845d650e63dc4bdc85c05b31d1c02cdcfd33ccb2ce103ebe5aa7abcf00513f etcd-v3.5.17-darwin-amd64.zip +eb0bd769c01c4c0b56fd58e9020880c3b0ee8e0cc81090d94f1b3c8b122d70ce etcd-v3.5.17-darwin-arm64.zip +eff6ac621d41711085d0f38fab17d8fa3705f6326c3ff11301a1f5a71fc94edd etcd-v3.5.17-linux-amd64.tar.gz +7d717a62520bf39fa1115dfbb1df79479ff74b5eda0914f4132bfa60a48b9549 etcd-v3.5.17-linux-arm64.tar.gz +5c737b586a1ebcc12bf0d68a2b56583764f4aba82ab4934629626da93d4a9ecc etcd-v3.5.17-linux-ppc64le.tar.gz +95da7e2c2bf9805f3770d1226818f4d826bd5d363af894891f1f55dc97374c69 etcd-v3.5.17-linux-s390x.tar.gz +4821d95bc8baf3a154315718ca790b548c4f0fab66290a6e702936d7d8af542e etcd-v3.5.17-windows-amd64.zip diff --git a/cache/etcd-arm b/cache/etcd-arm new file mode 100644 index 00000000000..3570e402b7a --- /dev/null +++ b/cache/etcd-arm @@ -0,0 +1,7 @@ +38845d650e63dc4bdc85c05b31d1c02cdcfd33ccb2ce103ebe5aa7abcf00513f etcd-v3.5.17-darwin-amd64.zip +eb0bd769c01c4c0b56fd58e9020880c3b0ee8e0cc81090d94f1b3c8b122d70ce etcd-v3.5.17-darwin-arm64.zip +eff6ac621d41711085d0f38fab17d8fa3705f6326c3ff11301a1f5a71fc94edd etcd-v3.5.17-linux-amd64.tar.gz +7d717a62520bf39fa1115dfbb1df79479ff74b5eda0914f4132bfa60a48b9549 etcd-v3.5.17-linux-arm64.tar.gz +5c737b586a1ebcc12bf0d68a2b56583764f4aba82ab4934629626da93d4a9ecc etcd-v3.5.17-linux-ppc64le.tar.gz +95da7e2c2bf9805f3770d1226818f4d826bd5d363af894891f1f55dc97374c69 etcd-v3.5.17-linux-s390x.tar.gz +4821d95bc8baf3a154315718ca790b548c4f0fab66290a6e702936d7d8af542e etcd-v3.5.17-windows-amd64.zip diff --git a/cache/etcd-arm64 b/cache/etcd-arm64 new file mode 100644 index 00000000000..3570e402b7a --- /dev/null +++ b/cache/etcd-arm64 @@ -0,0 +1,7 @@ +38845d650e63dc4bdc85c05b31d1c02cdcfd33ccb2ce103ebe5aa7abcf00513f etcd-v3.5.17-darwin-amd64.zip +eb0bd769c01c4c0b56fd58e9020880c3b0ee8e0cc81090d94f1b3c8b122d70ce etcd-v3.5.17-darwin-arm64.zip +eff6ac621d41711085d0f38fab17d8fa3705f6326c3ff11301a1f5a71fc94edd etcd-v3.5.17-linux-amd64.tar.gz +7d717a62520bf39fa1115dfbb1df79479ff74b5eda0914f4132bfa60a48b9549 etcd-v3.5.17-linux-arm64.tar.gz +5c737b586a1ebcc12bf0d68a2b56583764f4aba82ab4934629626da93d4a9ecc etcd-v3.5.17-linux-ppc64le.tar.gz +95da7e2c2bf9805f3770d1226818f4d826bd5d363af894891f1f55dc97374c69 etcd-v3.5.17-linux-s390x.tar.gz +4821d95bc8baf3a154315718ca790b548c4f0fab66290a6e702936d7d8af542e etcd-v3.5.17-windows-amd64.zip diff --git a/cache/etcd-ppc64le b/cache/etcd-ppc64le new file mode 100644 index 00000000000..3570e402b7a --- /dev/null +++ b/cache/etcd-ppc64le @@ -0,0 +1,7 @@ +38845d650e63dc4bdc85c05b31d1c02cdcfd33ccb2ce103ebe5aa7abcf00513f etcd-v3.5.17-darwin-amd64.zip +eb0bd769c01c4c0b56fd58e9020880c3b0ee8e0cc81090d94f1b3c8b122d70ce etcd-v3.5.17-darwin-arm64.zip +eff6ac621d41711085d0f38fab17d8fa3705f6326c3ff11301a1f5a71fc94edd etcd-v3.5.17-linux-amd64.tar.gz +7d717a62520bf39fa1115dfbb1df79479ff74b5eda0914f4132bfa60a48b9549 etcd-v3.5.17-linux-arm64.tar.gz +5c737b586a1ebcc12bf0d68a2b56583764f4aba82ab4934629626da93d4a9ecc etcd-v3.5.17-linux-ppc64le.tar.gz +95da7e2c2bf9805f3770d1226818f4d826bd5d363af894891f1f55dc97374c69 etcd-v3.5.17-linux-s390x.tar.gz +4821d95bc8baf3a154315718ca790b548c4f0fab66290a6e702936d7d8af542e etcd-v3.5.17-windows-amd64.zip diff --git a/cache/etcd.json b/cache/etcd.json new file mode 100644 index 00000000000..690cf96a2db --- /dev/null +++ b/cache/etcd.json @@ -0,0 +1,7 @@ +{ + "tagName": "v3.5.17", + "url": "https://github.com/etcd-io/etcd/releases/tag/v3.5.17", + "description": "Please check out [CHANGELOG](https://github.com/etcd-io/etcd/blob/main/CHANGELOG/CHANGELOG-3.5.md) for a full list of changes. And make sure to read [upgrade guide](https://etcd.io/docs/v3.5/upgrades/upgrade_3_5/) before upgrading etcd (there may be breaking changes).\r\n\r\nFor installation guides, please check out [play.etcd.io](http://play.etcd.io) and [operating etcd](https://etcd.io/docs/v3.5/op-guide/). Latest support status for common architectures and operating systems can be found at [supported platforms](https://etcd.io/docs/v3.5/op-guide/supported-platform/).\r\n\r\n###### Linux\r\n\r\n```sh\r\nETCD_VER=v3.5.17\r\n\r\n# choose either URL\r\nGOOGLE_URL=https://storage.googleapis.com/etcd\r\nGITHUB_URL=https://github.com/etcd-io/etcd/releases/download\r\nDOWNLOAD_URL=${GOOGLE_URL}\r\n\r\nrm -f /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz\r\nrm -rf /tmp/etcd-download-test && mkdir -p /tmp/etcd-download-test\r\n\r\ncurl -L ${DOWNLOAD_URL}/${ETCD_VER}/etcd-${ETCD_VER}-linux-amd64.tar.gz -o /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz\r\ntar xzvf /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz -C /tmp/etcd-download-test --strip-components=1\r\nrm -f /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz\r\n\r\n/tmp/etcd-download-test/etcd --version\r\n/tmp/etcd-download-test/etcdctl version\r\n/tmp/etcd-download-test/etcdutl version\r\n\r\n# start a local etcd server\r\n/tmp/etcd-download-test/etcd\r\n\r\n# write,read to etcd\r\n/tmp/etcd-download-test/etcdctl --endpoints=localhost:2379 put foo bar\r\n/tmp/etcd-download-test/etcdctl --endpoints=localhost:2379 get foo\r\n```\r\n\r\n###### macOS (Darwin)\r\n\r\n```sh\r\nETCD_VER=v3.5.17\r\n\r\n# choose either URL\r\nGOOGLE_URL=https://storage.googleapis.com/etcd\r\nGITHUB_URL=https://github.com/etcd-io/etcd/releases/download\r\nDOWNLOAD_URL=${GOOGLE_URL}\r\n\r\nrm -f /tmp/etcd-${ETCD_VER}-darwin-amd64.zip\r\nrm -rf /tmp/etcd-download-test && mkdir -p /tmp/etcd-download-test\r\n\r\ncurl -L ${DOWNLOAD_URL}/${ETCD_VER}/etcd-${ETCD_VER}-darwin-amd64.zip -o /tmp/etcd-${ETCD_VER}-darwin-amd64.zip\r\nunzip /tmp/etcd-${ETCD_VER}-darwin-amd64.zip -d /tmp && rm -f /tmp/etcd-${ETCD_VER}-darwin-amd64.zip\r\nmv /tmp/etcd-${ETCD_VER}-darwin-amd64/* /tmp/etcd-download-test && rm -rf mv /tmp/etcd-${ETCD_VER}-darwin-amd64\r\n\r\n/tmp/etcd-download-test/etcd --version\r\n/tmp/etcd-download-test/etcdctl version\r\n/tmp/etcd-download-test/etcdutl version\r\n```\r\n\r\n###### Docker\r\n\r\netcd uses [`gcr.io/etcd-development/etcd`](https://gcr.io/etcd-development/etcd) as a primary container registry, and [`quay.io/coreos/etcd`](https://quay.io/coreos/etcd) as secondary.\r\n\r\n```sh\r\nETCD_VER=v3.5.17\r\n\r\nrm -rf /tmp/etcd-data.tmp && mkdir -p /tmp/etcd-data.tmp && \\\r\n docker rmi gcr.io/etcd-development/etcd:${ETCD_VER} || true && \\\r\n docker run \\\r\n -p 2379:2379 \\\r\n -p 2380:2380 \\\r\n --mount type=bind,source=/tmp/etcd-data.tmp,destination=/etcd-data \\\r\n --name etcd-gcr-${ETCD_VER} \\\r\n gcr.io/etcd-development/etcd:${ETCD_VER} \\\r\n /usr/local/bin/etcd \\\r\n --name s1 \\\r\n --data-dir /etcd-data \\\r\n --listen-client-urls http://0.0.0.0:2379 \\\r\n --advertise-client-urls http://0.0.0.0:2379 \\\r\n --listen-peer-urls http://0.0.0.0:2380 \\\r\n --initial-advertise-peer-urls http://0.0.0.0:2380 \\\r\n --initial-cluster s1=http://0.0.0.0:2380 \\\r\n --initial-cluster-token tkn \\\r\n --initial-cluster-state new \\\r\n --log-level info \\\r\n --logger zap \\\r\n --log-outputs stderr\r\n\r\ndocker exec etcd-gcr-${ETCD_VER}/usr/local/bin/etcd --version\r\ndocker exec etcd-gcr-${ETCD_VER}/usr/local/bin/etcdctl version\r\ndocker exec etcd-gcr-${ETCD_VER}/usr/local/bin/etcdutl version\r\ndocker exec etcd-gcr-${ETCD_VER}/usr/local/bin/etcdctl endpoint health\r\ndocker exec etcd-gcr-${ETCD_VER}/usr/local/bin/etcdctl put foo bar\r\ndocker exec etcd-gcr-${ETCD_VER}/usr/local/bin/etcdctl get foo\r\n```\r\n", + "publishedAt": "2024-11-12T16:41:41Z", + "isLatest": true +} \ No newline at end of file diff --git a/roles/kubespray-defaults/defaults/main/checksums.yml b/roles/kubespray-defaults/defaults/main/checksums.yml index d1096cd36e6..2cea3821871 100644 --- a/roles/kubespray-defaults/defaults/main/checksums.yml +++ b/roles/kubespray-defaults/defaults/main/checksums.yml @@ -400,6 +400,7 @@ kubeadm_checksums: v1.28.0: 146fe9194486e46accd5054fa93939f9608fdbeefefc4bc68e4c40fb4a84ccc9 etcd_binary_checksums: arm: + v3.5.17: 7d717a62520bf39fa1115dfbb1df79479ff74b5eda0914f4132bfa60a48b9549 v3.5.12: 0 v3.5.11: 0 v3.5.10: 0 @@ -408,6 +409,7 @@ etcd_binary_checksums: v3.5.7: 0 v3.5.6: 0 arm64: + v3.5.17: 7d717a62520bf39fa1115dfbb1df79479ff74b5eda0914f4132bfa60a48b9549 v3.5.12: 31f30c01918771ece28d6e553e0f33be9483ced989896ecf6bbe1edb07786141 v3.5.11: 6edf0cddc8fa2d7674129abe2e44d5a37cc3a6e3b500c13c6cbc2ed2ecf08bf4 v3.5.10: ff74a6018d9b2a1320bff30e5a11b4f2f5c2a3d147df8a8bad53c01b9f800ee1 @@ -416,6 +418,7 @@ etcd_binary_checksums: v3.5.7: 1a35314900da7db006b198dd917e923459b462128101736c63a3cda57ecdbf51 v3.5.6: 888e25c9c94702ac1254c7655709b44bb3711ebaabd3cb05439f3dd1f2b51a87 amd64: + v3.5.17: eff6ac621d41711085d0f38fab17d8fa3705f6326c3ff11301a1f5a71fc94edd v3.5.12: f2ff0cb43ce119f55a85012255609b61c64263baea83aa7c8e6846c0938adca5 v3.5.11: e256885e753dc99001335e099d3c2eb8cf21a865a087ee4d7e3665752ae5929a v3.5.10: 26e90d024fa2310bc52bb40e7f2132e81640b55f8fc446c00ae07e30af2a44fd @@ -424,6 +427,7 @@ etcd_binary_checksums: v3.5.7: a43119af79c592a874e8f59c4f23832297849d0c479338f9df36e196b86bc396 v3.5.6: 4db32e3bc06dd0999e2171f76a87c1cffed8369475ec7aa7abee9023635670fb ppc64le: + v3.5.17: 5c737b586a1ebcc12bf0d68a2b56583764f4aba82ab4934629626da93d4a9ecc v3.5.12: ebd8060508d572678d8d1e4f90f87863e3a6cfcba856ceca32379b03251c0597 v3.5.11: a2e70b291811fa8ccc34cc7d297bf7d31e3af790bc31e54cad034a49e9db2eb7 v3.5.10: 10cd8e4ecf6718b9712bf2edfac2e4924d7f21dbe58d368e6e10578c85bd8c01 diff --git a/roles/kubespray-defaults/defaults/main/download.yml b/roles/kubespray-defaults/defaults/main/download.yml index 067b673c97f..9ff83beedcd 100644 --- a/roles/kubespray-defaults/defaults/main/download.yml +++ b/roles/kubespray-defaults/defaults/main/download.yml @@ -138,7 +138,7 @@ pod_infra_supported_versions: pod_infra_version: "{{ pod_infra_supported_versions[kube_major_version] }}" etcd_supported_versions: - v1.30: "v3.5.12" + v1.30: "v3.5.17" v1.29: "v3.5.12" v1.28: "v3.5.12" etcd_version: "{{ etcd_supported_versions[kube_major_version] }}" diff --git a/version_diff.json b/version_diff.json new file mode 100644 index 00000000000..c4a792bac01 --- /dev/null +++ b/version_diff.json @@ -0,0 +1,17 @@ +{ + "etcd": { + "current_version": "v3.5.12", + "latest_version": "v3.5.17", + "release": { + "tagName": "v3.5.17", + "url": "https://github.com/etcd-io/etcd/releases/tag/v3.5.17", + "description": "Please check out [CHANGELOG](https://github.com/etcd-io/etcd/blob/main/CHANGELOG/CHANGELOG-3.5.md) for a full list of changes. And make sure to read [upgrade guide](https://etcd.io/docs/v3.5/upgrades/upgrade_3_5/) before upgrading etcd (there may be breaking changes).\r\n\r\nFor installation guides, please check out [play.etcd.io](http://play.etcd.io) and [operating etcd](https://etcd.io/docs/v3.5/op-guide/). Latest support status for common architectures and operating systems can be found at [supported platforms](https://etcd.io/docs/v3.5/op-guide/supported-platform/).\r\n\r\n###### Linux\r\n\r\n```sh\r\nETCD_VER=v3.5.17\r\n\r\n# choose either URL\r\nGOOGLE_URL=https://storage.googleapis.com/etcd\r\nGITHUB_URL=https://github.com/etcd-io/etcd/releases/download\r\nDOWNLOAD_URL=${GOOGLE_URL}\r\n\r\nrm -f /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz\r\nrm -rf /tmp/etcd-download-test && mkdir -p /tmp/etcd-download-test\r\n\r\ncurl -L ${DOWNLOAD_URL}/${ETCD_VER}/etcd-${ETCD_VER}-linux-amd64.tar.gz -o /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz\r\ntar xzvf /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz -C /tmp/etcd-download-test --strip-components=1\r\nrm -f /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz\r\n\r\n/tmp/etcd-download-test/etcd --version\r\n/tmp/etcd-download-test/etcdctl version\r\n/tmp/etcd-download-test/etcdutl version\r\n\r\n# start a local etcd server\r\n/tmp/etcd-download-test/etcd\r\n\r\n# write,read to etcd\r\n/tmp/etcd-download-test/etcdctl --endpoints=localhost:2379 put foo bar\r\n/tmp/etcd-download-test/etcdctl --endpoints=localhost:2379 get foo\r\n```\r\n\r\n###### macOS (Darwin)\r\n\r\n```sh\r\nETCD_VER=v3.5.17\r\n\r\n# choose either URL\r\nGOOGLE_URL=https://storage.googleapis.com/etcd\r\nGITHUB_URL=https://github.com/etcd-io/etcd/releases/download\r\nDOWNLOAD_URL=${GOOGLE_URL}\r\n\r\nrm -f /tmp/etcd-${ETCD_VER}-darwin-amd64.zip\r\nrm -rf /tmp/etcd-download-test && mkdir -p /tmp/etcd-download-test\r\n\r\ncurl -L ${DOWNLOAD_URL}/${ETCD_VER}/etcd-${ETCD_VER}-darwin-amd64.zip -o /tmp/etcd-${ETCD_VER}-darwin-amd64.zip\r\nunzip /tmp/etcd-${ETCD_VER}-darwin-amd64.zip -d /tmp && rm -f /tmp/etcd-${ETCD_VER}-darwin-amd64.zip\r\nmv /tmp/etcd-${ETCD_VER}-darwin-amd64/* /tmp/etcd-download-test && rm -rf mv /tmp/etcd-${ETCD_VER}-darwin-amd64\r\n\r\n/tmp/etcd-download-test/etcd --version\r\n/tmp/etcd-download-test/etcdctl version\r\n/tmp/etcd-download-test/etcdutl version\r\n```\r\n\r\n###### Docker\r\n\r\netcd uses [`gcr.io/etcd-development/etcd`](https://gcr.io/etcd-development/etcd) as a primary container registry, and [`quay.io/coreos/etcd`](https://quay.io/coreos/etcd) as secondary.\r\n\r\n```sh\r\nETCD_VER=v3.5.17\r\n\r\nrm -rf /tmp/etcd-data.tmp && mkdir -p /tmp/etcd-data.tmp && \\\r\n docker rmi gcr.io/etcd-development/etcd:${ETCD_VER} || true && \\\r\n docker run \\\r\n -p 2379:2379 \\\r\n -p 2380:2380 \\\r\n --mount type=bind,source=/tmp/etcd-data.tmp,destination=/etcd-data \\\r\n --name etcd-gcr-${ETCD_VER} \\\r\n gcr.io/etcd-development/etcd:${ETCD_VER} \\\r\n /usr/local/bin/etcd \\\r\n --name s1 \\\r\n --data-dir /etcd-data \\\r\n --listen-client-urls http://0.0.0.0:2379 \\\r\n --advertise-client-urls http://0.0.0.0:2379 \\\r\n --listen-peer-urls http://0.0.0.0:2380 \\\r\n --initial-advertise-peer-urls http://0.0.0.0:2380 \\\r\n --initial-cluster s1=http://0.0.0.0:2380 \\\r\n --initial-cluster-token tkn \\\r\n --initial-cluster-state new \\\r\n --log-level info \\\r\n --logger zap \\\r\n --log-outputs stderr\r\n\r\ndocker exec etcd-gcr-${ETCD_VER}/usr/local/bin/etcd --version\r\ndocker exec etcd-gcr-${ETCD_VER}/usr/local/bin/etcdctl version\r\ndocker exec etcd-gcr-${ETCD_VER}/usr/local/bin/etcdutl version\r\ndocker exec etcd-gcr-${ETCD_VER}/usr/local/bin/etcdctl endpoint health\r\ndocker exec etcd-gcr-${ETCD_VER}/usr/local/bin/etcdctl put foo bar\r\ndocker exec etcd-gcr-${ETCD_VER}/usr/local/bin/etcdctl get foo\r\n```\r\n", + "publishedAt": "2024-11-12T16:41:41Z", + "isLatest": true, + "component": "etcd", + "owner": "etcd-io", + "repo": "etcd", + "release_type": "release" + } + } +} \ No newline at end of file