2025-05-20 16:01:05 -04:00
..
2023-04-17 10:28:19 +02:00
2023-07-04 22:26:21 +08:00
2023-02-07 09:43:45 +01:00
2022-12-08 13:05:19 -03:00
2022-12-08 13:05:19 -03:00
2022-12-08 13:05:19 -03:00
2022-12-08 13:05:19 -03:00
2022-12-08 13:05:19 -03:00
2025-05-20 16:01:05 -04:00
2025-05-20 16:01:05 -04:00
2020-08-25 09:25:15 +00:00

How to upgrade Kubernetes dependencies

General steps:

  1. 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.
  2. modify target versions in go-update-wc-deps.sh
  3. run ./go-update-wc-deps.sh
  4. if it fails, fix the test/code, and run it again until all tests are good - except install/installer
  5. take care of install/installer
  6. manually verify that the go.mod has the target versions set, and if not, adjust manually (not sure why these get overriden there)
  7. make sure helm.sh/helm/v3 is set to a compatible version (refer to https://github.com/helm/helm/releases/ to see which release bumps "k8s-io" to which version)
  8. 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.