Skip to content

New Kubernetes Release

John Kasperski edited this page Oct 17, 2025 · 28 revisions

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

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

  2. Create new branch for this new Kubernetes release

    • Select the current branch from which the new branch will be created.
    • In the Find or create a branch... field under the Branch drop-down menu, enter the new branch name release-<major>.<minor> where <major>.<minor> is the Kubernetes major and minor version (e.g. release-1.35)
  3. Update dependabot.yml configuration

  4. Update kube-update.yml Github Action workflow

  5. Update golangci-update.yml Github Action workflow

  6. Determine the version of latest Kubernetes Releases

  7. Click on that release to get to github source code. Located the go.mod to determine the the GO version

  8. Update the go.mod / go.sum with the information retrieved in the previous two steps

    • Install the same version of GO that is being used for this Kubernetes release
    • Checkout the new release branch that was just created
    • Update go.mod:
      • Change each of the direct k8s.io modules to new release/patch level (such as v0.35.0-alpha.1)
        • NOTE: The GO libraries are v0. where as the Kubernetes release is v1.
      • Remove all indirect references to k8s.io modules that are using the old release
      • Update the GO version
    • Run: go mod tidy
  9. Run a local build of the repo: make all. Fix all errors that are reported until the build of the new branch completes cleanly.

  10. Check in / merge the new branch

  11. Make the new branch the "default" branch for the repository. This is done in the repo Settings under the Branches tab

Clone this wiki locally