[k8s 1.32/golang 1.23] Breaking changes for CSI drivers on Windows

23 views
Skip to first unread message

Michelle Au

unread,
Dec 11, 2024, 1:58:02 PM12/11/24
to kubernetes-sig-storage, container-storage-interface-community
Hi everyone,

golang 1.23 has made some significant changes to how Windows mount points are reported. We are still evaluating the impact, so until we fully understand what fixes we may need to make, CSI drivers and csi-proxy should either:

1. Hold off on upgrading to golang 1.23 until we provide further guidance. This also means refraining from updating k8s.io/mount-utils to v0.32.0
2. If upgrading to golang 1.23, add the "godebug winsymlink=0" flag to the go.mod file to disable these changes.


Thanks,
Michelle


Mauricio Poppe

unread,
Dec 11, 2024, 2:34:15 PM12/11/24
to container-storage-interface-community
Thanks for sharing, there's an equivalent k8s.io/mount-utils binary for Windows called CSI Proxy which uses the go filesystem API. I recently saw a PR that's a sync from CSI release tools that bumped the go runtime to 1.23. I'm following option 2 through https://github.com/kubernetes-csi/csi-proxy/pull/363 to use set the min go version to 1.23 and to have `godebug winsymlink=0` in go.mod.

Best,
Mauricio

Reply all
Reply to author
Forward
0 new messages