Skip to content

New Kubernetes Release

SzabolcsSzoke edited this page Jun 30, 2026 · 28 revisions

The following steps are required to create a new branch for a new Kubernetes release:

  1. Determine the version of latest Kubernetes Releases such as "v1.37.0-alpha.2".

  2. Create new Label for the new release: "release-1.xx"

  3. Create a new branch for the new Kubernetes release

    • Bring up the top level, default page of this repo
    • In the Branch drop-down menu, enter the name for the new branch: release-<major>.<minor> where <major>.<minor> is the Kubernetes major and minor version (e.g. release-1.37)
  4. Locally check out the new branch and make the following updates:

    • Update dependabot.yml configuration
    • Update kube-update.yml Github Action workflow
    • Update golangci-update.yml Github Action workflow
    • Update go.mod:
      • Update each of the direct k8s.io modules to new release/patch level (such as v0.37.0-alpha.2)
        • NOTE: The k8s.io libraries are v0. where as the actual Kubernetes release is v1.
      • Remove all indirect references to the k8s.io modules
  5. Update the GO version installed on laptop to match this Kubernetes release GO version (it is OK for laptop to be at a newer version of GO)

  6. Run: go mod tidy to download the GO dependencies and refresh the go.sum file with the new libraries

  7. Run: make all to perform a local build of the repo. Fix all errors until the the new branch compiles cleanly.

  8. Check in / merge the changes to the new branch

  9. Make sure the Github actions build the branch cleanly

  10. Set the new branch to be the "default" branch. This is done in the repo Settings under the General tab

  11. Delete files no longer needed in the previous "default" branch:

    • .github/workflows/dispatch-pr-create.yml
    • .github/workflows/golangci-update.yml
    • .github/workflows/kube-update.yml
    • .github/dependabot.yml
  12. Select "Run workflow" in the kube-update GitHub Action workflow to create a PR to update the remaining files in the new branch to the new Kubernetes release. Review and approve the PR.

  13. Update the Kubernetes-to-OpenShift-releases Wiki page with the new release

  14. Update all references/links on this Wiki page to the new release.

Clone this wiki locally