nforgeio / neonKUBE

Public NeonKUBE Kubernetes distribution related projects
https://neonkube.io
Apache License 2.0
78 stars 13 forks source link

Kubernetes upgrade #1829

Open jefflill opened 1 year ago

jefflill commented 1 year ago

Kubernetes v1.24 reaches end-of-life status as of Friday (July 28, 2023) so it's time to upgrade to the latest v1.27 patch version and it also looks like 1.28 is coming soon. Now that the first friend/family beta release is (almost) ready, it's time to start thinking about this upgrade.

I think a reasonable approach would be to do this upgrade in 6 steps, ultimately upgrading to v1.27.4:

1.24.0  --> 1.25.0 --> 1.25.12
1.25.12 --> 1.26.0 --> 1.26.7
1.26.7  --> 1.27.0 --> 1.27.4

I think this will be easier than doing this all in one go but I believe we can skip the intermediate patch releases without too much drama. We're going to track these release steps in individual comments below.

GitHub Branches and Versioning

The 0.10.0-beta.0 release is still on master right now and we're going to keep it there until we finalize the release in a day or two and then we'll just patch that release if necessary by incrementing the beta number: 0.10.0-beta.1, 0.10.0-beta.2,...

I figure the next friends/family release version will be 0.11.0-beta.0 and the first GA preview release will be 0.11.0-preview.0. I'm going to do some scouting on a new 0.11.0-beta.0 branch for now but we'll merge that into master after we formally release 0.10.0-beta.0 into it's own release branch. I figure we'll ship GA as 0.11.0 and then increment the minor version number until it looks like things have stabilized and and we see no breaking changes on the horizon (and perhaps upgrade to Kubernetes v1.28, we'll bump our version to 1.0.0.

jefflill commented 1 year ago

I'm going to go ahead and do the Kubernetes and any necessary container upgrades all at once.

Upgrade Tasks

jefflill commented 1 year ago

1.25.12 --> 1.26.0 --> 1.26.7

jefflill commented 1 year ago

1.26.7 --> 1.27.0 --> 1.27.4