From 5eb9b40afbd36d53a6052b74e9366b0d3571dd4b Mon Sep 17 00:00:00 2001 From: Derek Nola Date: Thu, 5 Sep 2024 12:01:09 -0700 Subject: [PATCH 1/2] Add k3s 1.31 release page Signed-off-by: Derek Nola --- .github/workflows/release-notes.yml | 2 +- docs/release-notes/v1.24.X.md | 2 +- docs/release-notes/v1.25.X.md | 2 +- docs/release-notes/v1.26.X.md | 2 +- docs/release-notes/v1.27.X.md | 2 +- docs/release-notes/v1.28.X.md | 2 +- docs/release-notes/v1.29.X.md | 2 +- docs/release-notes/v1.30.X.md | 2 +- docs/release-notes/v1.31.X.md | 76 ++++++++++++++++++++++++++++ scripts/collect-all-release-notes.sh | 2 +- 10 files changed, 85 insertions(+), 9 deletions(-) create mode 100644 docs/release-notes/v1.31.X.md diff --git a/.github/workflows/release-notes.yml b/.github/workflows/release-notes.yml index 017262644..cb77db696 100644 --- a/.github/workflows/release-notes.yml +++ b/.github/workflows/release-notes.yml @@ -4,7 +4,7 @@ on: schedule: - cron: '0 6 * * 1' # every Monday at 6:00 AM env: - MINORS: "v1.27 v1.28 v1.29 v1.30" + MINORS: "v1.28 v1.29 v1.30 v1.31" permissions: contents: write pull-requests: write diff --git a/docs/release-notes/v1.24.X.md b/docs/release-notes/v1.24.X.md index 8574dcce2..9e65d6c6b 100644 --- a/docs/release-notes/v1.24.X.md +++ b/docs/release-notes/v1.24.X.md @@ -1,6 +1,6 @@ --- hide_table_of_contents: true -sidebar_position: 7 +sidebar_position: 8 --- # v1.24.X diff --git a/docs/release-notes/v1.25.X.md b/docs/release-notes/v1.25.X.md index 1ee365952..8b734c7ff 100644 --- a/docs/release-notes/v1.25.X.md +++ b/docs/release-notes/v1.25.X.md @@ -1,6 +1,6 @@ --- hide_table_of_contents: true -sidebar_position: 6 +sidebar_position: 7 --- # v1.25.X diff --git a/docs/release-notes/v1.26.X.md b/docs/release-notes/v1.26.X.md index c94e74aa3..454711954 100644 --- a/docs/release-notes/v1.26.X.md +++ b/docs/release-notes/v1.26.X.md @@ -1,6 +1,6 @@ --- hide_table_of_contents: true -sidebar_position: 5 +sidebar_position: 6 --- # v1.26.X diff --git a/docs/release-notes/v1.27.X.md b/docs/release-notes/v1.27.X.md index 739482659..1ad597bed 100644 --- a/docs/release-notes/v1.27.X.md +++ b/docs/release-notes/v1.27.X.md @@ -1,6 +1,6 @@ --- hide_table_of_contents: true -sidebar_position: 4 +sidebar_position: 5 --- # v1.27.X diff --git a/docs/release-notes/v1.28.X.md b/docs/release-notes/v1.28.X.md index 0c8cd75c4..8c9699f97 100644 --- a/docs/release-notes/v1.28.X.md +++ b/docs/release-notes/v1.28.X.md @@ -1,6 +1,6 @@ --- hide_table_of_contents: true -sidebar_position: 3 +sidebar_position: 4 --- # v1.28.X diff --git a/docs/release-notes/v1.29.X.md b/docs/release-notes/v1.29.X.md index dd5671191..52c8a5223 100644 --- a/docs/release-notes/v1.29.X.md +++ b/docs/release-notes/v1.29.X.md @@ -1,6 +1,6 @@ --- hide_table_of_contents: true -sidebar_position: 2 +sidebar_position: 3 --- # v1.29.X diff --git a/docs/release-notes/v1.30.X.md b/docs/release-notes/v1.30.X.md index 11c3bc96a..abc6cc44e 100644 --- a/docs/release-notes/v1.30.X.md +++ b/docs/release-notes/v1.30.X.md @@ -1,6 +1,6 @@ --- hide_table_of_contents: true -sidebar_position: 1 +sidebar_position: 2 --- # v1.30.X diff --git a/docs/release-notes/v1.31.X.md b/docs/release-notes/v1.31.X.md new file mode 100644 index 000000000..32c3c924e --- /dev/null +++ b/docs/release-notes/v1.31.X.md @@ -0,0 +1,76 @@ +--- +hide_table_of_contents: true +sidebar_position: 1 +--- + +# v1.31.X + +:::warning Upgrade Notice +Before upgrading from earlier releases, be sure to read the Kubernetes [Urgent Upgrade Notes](https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.31.md#urgent-upgrade-notes). +::: + +| Version | Release date | Kubernetes | Kine | SQLite | Etcd | Containerd | Runc | Flannel | Metrics-server | Traefik | CoreDNS | Helm-controller | Local-path-provisioner | +| ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | +| [v1.31.0+k3s1](v1.31.X.md#release-v1310k3s1) | Sep 02 2024| [v1.31.0](https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.31.md#v1310) | [v0.12.0](https://github.com/k3s-io/kine/releases/tag/v0.12.0) | [3.44.0](https://sqlite.org/releaselog/3_44_0.html) | [v3.5.13-k3s1](https://github.com/k3s-io/etcd/releases/tag/v3.5.13-k3s1) | [v1.7.20-k3s1](https://github.com/k3s-io/containerd/releases/tag/v1.7.20-k3s1) | [v1.1.12](https://github.com/opencontainers/runc/releases/tag/v1.1.12) | [v0.25.4](https://github.com/flannel-io/flannel/releases/tag/v0.25.4) | [v0.7.0](https://github.com/kubernetes-sigs/metrics-server/releases/tag/v0.7.0) | [v2.10.7](https://github.com/traefik/traefik/releases/tag/v2.10.7) | [v1.10.1](https://github.com/coredns/coredns/releases/tag/v1.10.1) | [v0.16.3](https://github.com/k3s-io/helm-controller/releases/tag/v0.16.3) | [v0.0.28](https://github.com/rancher/local-path-provisioner/releases/tag/v0.0.28) | + +
+ +## Release [v1.31.0+k3s1](https://github.com/k3s-io/k3s/releases/tag/v1.31.0+k3s1) + + +This release is K3S's first in the v1.31 line. This release updates Kubernetes to v1.31.0. + +For more details on what's new, see the [Kubernetes release notes](https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.31.md#changelog-since-v1300). + +### Changes since v1.30.4+k3s1: + +* Move test-compat docker test to GHA [(#10414)](https://github.com/k3s-io/k3s/pull/10414) +* Check for bad token permissions when install via PR [(#10387)](https://github.com/k3s-io/k3s/pull/10387) +* Bump k3s-root to v0.14.0 [(#10466)](https://github.com/k3s-io/k3s/pull/10466) + * The k3s bundled userspace has been bumped to a release based on buildroot 2024.02.3, addressing several CVEs in busybox and coreutils. +* Fix INSTALL_K3S_PR support [(#10472)](https://github.com/k3s-io/k3s/pull/10472) +* Add `data-dir` to uninstall and killall scripts [(#10473)](https://github.com/k3s-io/k3s/pull/10473) +* Bump github.com/hashicorp/go-retryablehttp from 0.7.4 to 0.7.7 [(#10400)](https://github.com/k3s-io/k3s/pull/10400) +* Bump golang:alpine image version [(#10359)](https://github.com/k3s-io/k3s/pull/10359) +* Bump Local Path Provisioner version [(#10394)](https://github.com/k3s-io/k3s/pull/10394) +* Ensure remotedialer kubelet connections use kubelet bind address [(#10480)](https://github.com/k3s-io/k3s/pull/10480) + * Fixed an issue where setting the `--bind-address` flag to a non-loopback or wildcard address would prevent `kubectl logs` from working properly. +* Bump Trivy version [(#10339)](https://github.com/k3s-io/k3s/pull/10339) +* Add etcd s3 config secret implementation [(#10340)](https://github.com/k3s-io/k3s/pull/10340) + * A proxy can now be configured for use when uploading etcd snapshots to a s3-compatible storage service. This overrides any proxy settings passed via environment variables. + * Credentials and endpoint configuration for storing etcd snapshots on a s3-compatible storage service can now be read from a Secret, instead of passing them via the CLI or config file. See https://github.com/k3s-io/k3s/blob/master/docs/adrs/etcd-s3-secret.md for more information. +* For E2E upgrade test, automatically determine the channel to use [(#10461)](https://github.com/k3s-io/k3s/pull/10461) +* Bump kine to v0.11.11 [(#10494)](https://github.com/k3s-io/k3s/pull/10494) +* Fix loadbalancer reentrant rlock [(#10511)](https://github.com/k3s-io/k3s/pull/10511) + * Fixed an issue that could cause the agent loadbalancer to deadlock when the currently in-use server goes down. +* Don't use server value from config file for etcd-snapshot commands [(#10514)](https://github.com/k3s-io/k3s/pull/10514) + * The `--server` and `--token` flags for the `k3s etcd-snapshot` command have been renamed to `--etcd-server` and `--etcd-token`, to avoid unintentionally running snapshot management commands against a remote node when the cluster join address or token are present in a config file. +* Use pagination when listing large numbers of resources [(#10527)](https://github.com/k3s-io/k3s/pull/10527) +* Fix multiple issues with servicelb [(#10552)](https://github.com/k3s-io/k3s/pull/10552) + * Fixed issue that caused ServiceLB to fail to create a daemonset for services with long names + * Fixed issue that caused ServiceLB pods to crashloop on nodes with ipv6 disabled at the kernel level +* Enhance E2E Hardened option [(#10558)](https://github.com/k3s-io/k3s/pull/10558) +* Allow Pprof and Superisor metrics in standalone mode [(#10576)](https://github.com/k3s-io/k3s/pull/10576) +* Use higher QPS for secrets reencryption [(#10571)](https://github.com/k3s-io/k3s/pull/10571) +* Fix issues loading data-dir value from env vars or dropin config files [(#10591)](https://github.com/k3s-io/k3s/pull/10591) +* Remove deprecated use of wait. functions [(#10546)](https://github.com/k3s-io/k3s/pull/10546) +* Wire lasso metrics up to metrics endpoint [(#10528)](https://github.com/k3s-io/k3s/pull/10528) +* Update stable channel to v1.30.3+k3s1 [(#10647)](https://github.com/k3s-io/k3s/pull/10647) +* Bump docker/docker to v25.0.6 [(#10642)](https://github.com/k3s-io/k3s/pull/10642) +* Add a change for killall to not unmount server and agent directory [(#10403)](https://github.com/k3s-io/k3s/pull/10403) +* Allow edge case OS rpm installs [(#10680)](https://github.com/k3s-io/k3s/pull/10680) +* Bump containerd to v1.7.20 [(#10659)](https://github.com/k3s-io/k3s/pull/10659) +* Update to newer OS images for install testing [(#10681)](https://github.com/k3s-io/k3s/pull/10681) +* Bump helm-controller to v0.16.3 to drop Helm v2 support [(#10628)](https://github.com/k3s-io/k3s/pull/10628) +* Add toleration support to ServiceLB DaemonSet [(#10687)](https://github.com/k3s-io/k3s/pull/10687) + * - **New Feature**: Users can now define Kubernetes tolerations for ServiceLB DaemonSet directly in the `svccontroller.k3s.cattle.io/tolerations` annotation on services. +* Fix: Add $SUDO prefix to transactional-update commands in install script [(#10531)](https://github.com/k3s-io/k3s/pull/10531) +* Update to v1.30.3-k3s1 and Go 1.22.5 [(#10707)](https://github.com/k3s-io/k3s/pull/10707) +* Fix caching name for e2e vagrant box [(#10695)](https://github.com/k3s-io/k3s/pull/10695) +* Fix k3s-killall.sh support for custom data dir [(#10709)](https://github.com/k3s-io/k3s/pull/10709) +* Adding MariaDB to README.md [(#10717)](https://github.com/k3s-io/k3s/pull/10717) +* Bump Trivy version [(#10670)](https://github.com/k3s-io/k3s/pull/10670) +* V1.31.0-k3s1 [(#10715)](https://github.com/k3s-io/k3s/pull/10715) +* Update kubernetes to v1.31.0-k3s3 [(#10780)](https://github.com/k3s-io/k3s/pull/10780) + +----- diff --git a/scripts/collect-all-release-notes.sh b/scripts/collect-all-release-notes.sh index f3cfdf90d..f639b6847 100755 --- a/scripts/collect-all-release-notes.sh +++ b/scripts/collect-all-release-notes.sh @@ -5,7 +5,7 @@ function gen_md_link() echo "${release_link}" } -MINORS=${MINORS:-"v1.27 v1.28 v1.29 v1.30"} +MINORS=${MINORS:-"v1.28 v1.29 v1.30 v1.31"} for minor in $MINORS; do product=k3s From 5349e660d47455708da74e72b2e7485bb169fb85 Mon Sep 17 00:00:00 2001 From: Derek Nola Date: Thu, 5 Sep 2024 12:08:33 -0700 Subject: [PATCH 2/2] Bump missed docusaurus dependencies Signed-off-by: Derek Nola --- package.json | 4 ++-- yarn.lock | 24 ++++-------------------- 2 files changed, 6 insertions(+), 22 deletions(-) diff --git a/package.json b/package.json index feea5b08a..cdd4c887f 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "@docusaurus/core": "^3.5.2", "@docusaurus/plugin-client-redirects": "^3.5.2", "@docusaurus/preset-classic": "^3.5.2", - "@docusaurus/theme-common": "^3.2.0", + "@docusaurus/theme-common": "^3.5.2", "@docusaurus/theme-mermaid": "^3.5.2", "@easyops-cn/docusaurus-search-local": "^0.44.5", "@mdx-js/react": "3.0.1", @@ -32,7 +32,7 @@ "remark-validate-links-heading-id": "^0.0.3" }, "devDependencies": { - "@docusaurus/module-type-aliases": "^3.2.0" + "@docusaurus/module-type-aliases": "^3.5.2" }, "browserslist": { "production": [ diff --git a/yarn.lock b/yarn.lock index ade25eb7d..a0d5ce851 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1504,7 +1504,7 @@ vfile "^6.0.1" webpack "^5.88.1" -"@docusaurus/module-type-aliases@3.5.2", "@docusaurus/module-type-aliases@^3.2.0": +"@docusaurus/module-type-aliases@3.5.2", "@docusaurus/module-type-aliases@^3.5.2": version "3.5.2" resolved "https://registry.yarnpkg.com/@docusaurus/module-type-aliases/-/module-type-aliases-3.5.2.tgz#4e8f9c0703e23b2e07ebfce96598ec83e4dd2a9e" integrity sha512-Z+Xu3+2rvKef/YKTMxZHsEXp1y92ac0ngjDiExRdqGTmEKtCUpkbNYH8v5eXo5Ls+dnW88n6WTa+Q54kLOkwPg== @@ -1701,7 +1701,7 @@ tslib "^2.6.0" utility-types "^3.10.0" -"@docusaurus/theme-common@3.5.2", "@docusaurus/theme-common@^3.2.0": +"@docusaurus/theme-common@3.5.2", "@docusaurus/theme-common@^3.5.2": version "3.5.2" resolved "https://registry.yarnpkg.com/@docusaurus/theme-common/-/theme-common-3.5.2.tgz#b507ab869a1fba0be9c3c9d74f2f3d74c3ac78b2" integrity sha512-QXqlm9S6x9Ibwjs7I2yEDgsCocp708DrCrgHgKwg2n2AY0YQ6IjU0gAK35lHRLOvAoJUfCKpQAwUykB0R7+Eew== @@ -9524,16 +9524,7 @@ std-env@^3.0.1: resolved "https://registry.yarnpkg.com/std-env/-/std-env-3.5.0.tgz#83010c9e29bd99bf6f605df87c19012d82d63b97" integrity sha512-JGUEaALvL0Mf6JCfYnJOTcobY+Nc7sG/TemDRBqCA0wEr4DER7zDchaaixTlmOxAjG1uRJmX82EQcxwTQTkqVA== -"string-width-cjs@npm:string-width@^4.2.0": - version "4.2.3" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" - integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== - dependencies: - emoji-regex "^8.0.0" - is-fullwidth-code-point "^3.0.0" - strip-ansi "^6.0.1" - -string-width@^4.1.0, string-width@^4.2.0: +"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.1.0, string-width@^4.2.0: version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -9591,14 +9582,7 @@ stringify-object@^3.3.0: is-obj "^1.0.1" is-regexp "^1.0.0" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1": - version "6.0.1" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" - integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== - dependencies: - ansi-regex "^5.0.1" - -strip-ansi@^6.0.0, strip-ansi@^6.0.1: +"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==