mirror of
https://github.com/gitpod-io/gitpod.git
synced 2025-12-08 17:36:30 +00:00
How to upgrade Kubernetes dependencies
General steps:
- Check https://github.com/kubernetes/kubernetes/releases for the Kubernetes version. E.g. we use EKS 1.31, latest 1.31 Kubernetes release is 1.31.8 which is Kubernetes version 31.8. Run
./go-get-kubernetes.sh 31.8. - modify target versions in
go-update-wc-deps.sh - run
./go-update-wc-deps.sh - if it fails, fix the test/code, and run it again until all tests are good - except
install/installer - take care of
install/installer - manually verify that the
go.modhas the target versions set, and if not, adjust manually (not sure why these get overriden there) - make sure
helm.sh/helm/v3is set to a compatible version (refer to https://github.com/helm/helm/releases/ to see which release bumps "k8s-io" to which version) - test with
go mod tidy && go test ./...until it succeeds
gpl: I just noticed that probably go-get-kubernetes.sh was meant for bumping kubernetes versions in common-go - which I did manually. So probably that should be the very first step.