From f19af1346c1762a969112ebd13a9787bb3c2a9a8 Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Mon, 20 Jan 2025 16:50:41 +0000 Subject: [PATCH 1/2] Upgrade default etcd version to 3.5.17 Signed-off-by: Graham Campbell --- pkg/apis/planetscale/v2/defaults.go | 2 +- tools/get-kube-binaries.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/apis/planetscale/v2/defaults.go b/pkg/apis/planetscale/v2/defaults.go index 85fe9694..f34fa8db 100644 --- a/pkg/apis/planetscale/v2/defaults.go +++ b/pkg/apis/planetscale/v2/defaults.go @@ -182,5 +182,5 @@ var ( // DefaultEtcdImage is the image to use for etcd when the CRD doesn't specify. // This value can be configured at operator startup time with the // --default_etcd_image flag. - DefaultEtcdImage = "quay.io/coreos/etcd:v3.5.9" + DefaultEtcdImage = "quay.io/coreos/etcd:v3.5.17" ) diff --git a/tools/get-kube-binaries.sh b/tools/get-kube-binaries.sh index 3742a041..fb5ef514 100755 --- a/tools/get-kube-binaries.sh +++ b/tools/get-kube-binaries.sh @@ -14,7 +14,7 @@ KUBERNETES_RELEASE_URL="${KUBERNETES_RELEASE_URL:-https://dl.k8s.io}" # This should be the etcd version downloaded by kubernetes/hack/lib/etcd.sh # as of the above Kubernetes version. -ETCD_VERSION="${ETCD_VERSION:-v3.3.15}" +ETCD_VERSION="${ETCD_VERSION:-v3.5.17}" ETCD_RELEASE_URL="${ETCD_RELEASE_URL:-https://github.com/coreos/etcd/releases/download}" DIR="${BASH_SOURCE%/*}" From 4089c081cddf1ae134800c1f6cc1a5c8e32e2c05 Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Wed, 29 Jan 2025 21:09:40 +0000 Subject: [PATCH 2/2] Add release notes Signed-off-by: Graham Campbell --- docs/release-notes/2_15_0_summary.md | 20 ++++++++++++++++++++ docs/release-notes/2_9_0_summary.md | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 docs/release-notes/2_15_0_summary.md diff --git a/docs/release-notes/2_15_0_summary.md b/docs/release-notes/2_15_0_summary.md new file mode 100644 index 00000000..1cad2448 --- /dev/null +++ b/docs/release-notes/2_15_0_summary.md @@ -0,0 +1,20 @@ +## Major Changes + +### etcd Upgrade Path + +We have changed the default etcd version to `3.5.17`. + +You can upgrade by changing your YAML file to use the new Docker Image (`quay.io/coreos/etcd:v3.5.17`). + +### MySQL Upgrade Path + +With the latest version of Vitess (`v22.0.0`) the default MySQL version changed from `8.0.30` to `8.0.40`. + +In order for you to correctly upgrade, there is a certain path to follow: + +1. Add `innodb_fast_shutdown=0` to your extra cnf in your YAML file. +2. Apply this file. +3. Wait for all the pods to be healthy. +4. Then change your YAML file to use the new Docker Image (`mysql:8.0.40`). +5. Remove `innodb_fast_shutdown=0` from your extra cnf in your YAML file. +6. Apply this file. diff --git a/docs/release-notes/2_9_0_summary.md b/docs/release-notes/2_9_0_summary.md index 6b8387af..46a356a3 100644 --- a/docs/release-notes/2_9_0_summary.md +++ b/docs/release-notes/2_9_0_summary.md @@ -18,7 +18,7 @@ Meaning that the `vitess/lite:v15.0.2` and `vitess/lite:v16.0.0` are running dif If you want to remain on MySQL 5.7, we invite you to use `vitess/lite:v16.0.0-mysql57`. Otherwise, if you were already running MySQL 8.0, with for instance `vitess/lite:v15.0.2-mysql80`, note that here the patch version of MySQL will also change between `v15` and `v16`. -In `v16.0.0` we are bumping the patch version of MySQL 80 from `8.0.23` to `8.0.30`. +In `v16.0.0` we are bumping the patch version of MySQL 8.0 from `8.0.23` to `8.0.30`. In order for you to correctly upgrade, there is a certain path to follow: 1. Add `innodb_fast_shutdown=0` to your extra cnf in your YAML file.