Skip to content

Commit adbcc5b

Browse files
committed
Simplify expected mitigation approach for go1.21
1 parent 5c79049 commit adbcc5b

File tree

1 file changed

+11
-9
lines changed
  • keps/sig-release/3744-stay-on-supported-go-versions

1 file changed

+11
-9
lines changed

keps/sig-release/3744-stay-on-supported-go-versions/README.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -202,15 +202,17 @@ Update release-1.x branches to build/release using go 1.N once all of these cond
202202
used for the .0 release of the Kubernetes release branch
203203
4. There are no regressions relative to go 1.(N‑1) known to impact Kubernetes
204204
5. Behavior changes in go 1.N are mitigated to preserve existing behavior for previous
205-
Kubernetes minor versions without requiring action by Kubernetes end-users. Examples:
206-
* defaulting GOGC in kube-apiserver `main()` to preserve go1.17 memory use
207-
characteristics in Kubernetes 1.23.x updating from go1.17 to go1.18
208-
* defaulting GODEBUG in kube-apiserver `main()` to preserve SHA-1 x509
209-
enablement in Kubernetes 1.23.x updating from go1.17 to go1.18
210-
* allowing kubectl plugin resolution to locate plugin binaries in the
211-
current directory updating from go1.18 to go1.19
212-
* using the `go.mod` version directive and `godebug` directives in go1.21+ to preserve
213-
go runtime legacy behavior as described in https://github.com/golang/go/issues/56986
205+
Kubernetes minor versions without requiring action by Kubernetes end-users.
206+
* In go1.21+, the go runtime is expected to match previous runtime behavior by default
207+
if we avoid leave the go version indicated in `go.mod` files in release branches unchanged,
208+
as described in https://github.com/golang/go/issues/56986
209+
* If necessary, other mitigation approaches can be used as long as they are transparent to end users. Examples:
210+
* defaulting GOGC in kube-apiserver `main()` to preserve go1.17 memory use
211+
characteristics in Kubernetes 1.23.x updating from go1.17 to go1.18
212+
* defaulting GODEBUG in kube-apiserver `main()` to preserve SHA-1 x509
213+
enablement in Kubernetes 1.23.x updating from go1.17 to go1.18
214+
* allowing kubectl plugin resolution to locate plugin binaries in the
215+
current directory updating from go1.18 to go1.19
214216

215217
The [go update handbook](https://github.com/kubernetes/sig-release/blob/master/release-engineering/handbooks/go.md)
216218
and [go update issue template](https://github.com/kubernetes/release/blob/master/.github/ISSUE_TEMPLATE/dep-golang.md)

0 commit comments

Comments
 (0)