-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade k8s dependencies to 1.26.15 #928
Conversation
4ed87d2
to
ec153e3
Compare
ec153e3
to
7fbc3d0
Compare
When upgrading k3d cluster to 1.26 in #928 k3d cluster nodes are getting renamed into `K3s v1.26.15+k3s1` instead of `K3s dev`. We rely on this to find containerd socket in e2e tests, so they breaks. Let's detect if we are running inside k3d cluster using `K3s` prefix.
b1f1ec6
to
ea0118e
Compare
ea0118e
to
e149650
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rebased onto main
, found some other places that need updating, with rg '1\.25'
:
- in
kind/config.yaml
, thekindest/node
image versions - in
Makefile
,ENVTEST_K8S_VERSION
andKUBECTL_VERSION
- in
neonvm/runner/Dockerfile
, crictlVERSION
edit: Actually there's also some with rg '0\.25'
:
- in
Makefile
,CODE_GENERATOR_VERSION
edit: and there's even more, that don't have regular versions:
- in
Makefile
,CONTROLLER_TOOLS_VERSION
There's also some docs where the version could be updated, but 🤷
@@ -42,7 +42,7 @@ $ # create a temporary directory for kubernetes/autoscaler | |||
$ tmpdir=$(mktemp -d | tee /dev/tty) | |||
/tmp/tmp./tmp/tmp.MCMXmnprG0 | |||
$ # clone the source repo | |||
$ git clone --quiet --branch $(cat cluster-autoscaler/ca.tag) https://github.com/kubernetes/autsocaler $tmpdir | |||
$ git clone --quiet --branch $(cat cluster-autoscaler/ca.tag) https://github.com/kubernetes/autoscaler $tmpdir |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops! 🤦 😅
e149650
to
fb017c3
Compare
Updates:
Also, triggered e2e tests on kind, here: https://github.com/neondatabase/autoscaling/actions/runs/9539100392 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
e2e-kind succeeded: https://github.com/neondatabase/autoscaling/actions/runs/9539279238
Looks all good to me; @SergeyMelnikov & @Omrigan could you double-check my recent changes? fb017c3
..7c09c5b
Looks good to me, and given all clusters were upgraded, I'm rebasing to main and merging this PR |
09e2172
to
7c09c5b
Compare
Signed-off-by: Oleg Vasilev <[email protected]>
Signed-off-by: Oleg Vasilev <[email protected]>
Signed-off-by: Oleg Vasilev <[email protected]>
Signed-off-by: Oleg Vasilev <[email protected]>
We could have kept kind at v0.20.0 and used nodes v1.26.0, but I figured it's better for consistency to use v1.26.15 in the kind nodes as well.
Genuinely shocked that makefile semantics includes the spaces in the variable, but hey.
maybe we should change it, but that should be a separate PR.
7c09c5b
to
eb4007d
Compare
The plan is after all clusters are upgraded to rebase this on top of main and merge.
cc: https://github.com/neondatabase/cloud/issues/7922