Along the lines of messing with go mods. Is there ...
# contribute
c
Along the lines of messing with go mods. Is there any good reason we still pin the k8s libs to v0.28.2? @gorgeous-waitress-5026 mentioned that we should probably align with the k8s support model and I agree we should probably unpin those libraries and keep them up to date, even if we don't use new k8s features in Flyte
๐Ÿ‘€ 1
g
Yeah, +1 to upgrading to a newer k8s client version. As of 1.16, sidecar containers are now required for copilot (which is required for container task to manage inputs and outputs) k8s 1.29 introduced sidecars as alpha, but they didn't become stable until k8s 1.33 -- cloud distros like EKS didn't start shipping it until recently
g
Is there any good reason we still pin the k8s libs to v0.28.2
we should be able to unpin it once we upgrade go to 1.25
i think the only reason is because of golang version
๐Ÿ‘ 3
g
d
FWIW, Iโ€™m currently working on upgrading spark-operator to v2.3.0, which also requires a newer client-go version. So +1 from my side on unpinning the k8s libs once the Go 1.24/1.25 upgrade lands. itโ€™ll help keep the spark-operator work aligned as well.
๐Ÿ‘ 1
c
I also tested a pull request on top of this one to upgrade the spark operator and it went fine.
๐Ÿš€ 2