release icon indicating copy to clipboard operation
release copied to clipboard

Dependency update - Golang 1.25.0

Open liggitt opened this issue 8 months ago • 1 comments

Tracking info

Link to any previous tracking issue:

Golang mailing list announcement:

SIG Release Slack thread:

Work items for Go 1.25.x

  • [ ] kube-cross, go-runner, releng-ci image updates:

    • [ ] kube-cross image promotion:
    • [ ] go-runner image promotion:
    • [ ] releng-ci image promotion:

After go-runner image promotion

  • [ ] distroless-iptables image update:

    • [ ] image promotion:

After kube-cross and distroless-iptables image promotions

  • [ ] kubernetes/kubernetes update (master):

    Ensure the following have been updated within the PR:

    • [ ] .go-version file
    • [ ] kube-cross image
    • [ ] go-runner image
    • [ ] distroless-iptables image
    • [ ] publishing bot rules
    • [ ] test image

Note This update may require an update to go.sum files, for example: https://github.com/kubernetes/kubernetes/pull/118507 This will require an API Review approval.

After kubernetes/kubernetes (master) has been updated

  • [ ] k8s-cloud-builder and k8s-ci-builder image updates:
  • [ ] kubekins/krte image variants update:

Cherry picks

  • [ ] Kubernetes 1.y-1:
  • [ ] Kubernetes 1.y-2:
  • [ ] Kubernetes 1.y-3:
  • [ ] publishing bot rule updates for active Golang versions:

After kubernetes/kubernetes (release branches) has been updated

  • [ ] k8s-cloud-builder and k8s-ci-builder image updates:
  • [ ] kubekins/krte image updates:

Follow-up items

  • [ ] Ensure the Golang issue template is updated with any new requirements
  • [ ] <Any other follow up items>

/assign cc: @kubernetes/release-engineering

liggitt avatar Mar 14 '25 12:03 liggitt

Tracking PRs related to go1.25 that we would need to pick to release branches as part of an eventual update to go1.25:

  • https://github.com/kubernetes/kubernetes/pull/130437

    • 1.32: TBD
    • 1.31 and earlier: EOL before updating release branches to Go 1.25
  • https://github.com/kubernetes/kubernetes/pull/132820

    • 1.33: TBD
    • 1.32: TBD
    • 1.31 and earlier: EOL before updating release branches to Go 1.25

Tracking verification of conditions for bumping go1.25 on release branches:

  • [x] ~2025-11: ~3 months after go 1.25 release (ETA 2025-08)
  • [ ] ~2026-01: 1 month after Kubernetes 1.35 release on go1.25 (ETA 2025-12)
  • [ ] no regressions relative to go 1.24 known to impact Kubernetes
  • [ ] pass unit and integration tests with both go 1.24 and the original go version for the release branch
    • [ ] 1.34:
    • [ ] 1.33:
    • [ ] 1.32:
    • 1.31 and earlier: EOL before updating release branches to Go 1.25
  • [ ] any behavior changes in go 1.25 are mitigated to preserve existing behavior without requiring action by Kubernetes end-users

Tracking the PR that actually bumps to go1.25:

  • [ ] 1.34:
  • [ ] 1.33:
  • [ ] 1.32:
  • 1.31 and earlier: EOL before updating release branches to Go 1.25

liggitt avatar Mar 14 '25 12:03 liggitt

/assign

cpanato avatar May 06 '25 16:05 cpanato

We switched to 1.25.1 with v1.34-go1.25-bullseye as part of https://github.com/kubernetes/release/pull/4119. Do we want to streamline everything and move to that version for the other images as well?

saschagrunert avatar Sep 16 '25 07:09 saschagrunert

#4119 was closed in favor of https://github.com/kubernetes/release/pull/4119

So new kube-cross, go-runner, releng-ci image updates are out there now.

image promotion for go-runner image is in https://github.com/kubernetes/k8s.io/pull/8511

dims avatar Sep 16 '25 13:09 dims

distroless-iptables image update: https://github.com/kubernetes/release/pull/4128 image promotion: https://github.com/kubernetes/k8s.io/pull/8516

dims avatar Sep 16 '25 18:09 dims

/retitle Dependency update - Golang 1.25.1

dims avatar Sep 17 '25 11:09 dims

@dims @liggitt will keep this open to we move to the active release branches go1.25

cpanato avatar Oct 09 '25 11:10 cpanato