Replies: 5 comments 2 replies
-
This has tripped me up as well. It'd be helpful if talosctl either told you it wasn't the latest version, or as Marcus suggested something like |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
You can always upgrade yourself if you don't like the CLI tool provided (or even build your own), but we should try to ensure that we solve it for the majority of the users in the safest way possible. |
Beta Was this translation helpful? Give feedback.
-
I love the CLI provided tool, I just want it to block me for technical reasons, not opinions Even if i wanted to do it myself that's not documented. Every result for "talos upgrade kubernetes" links to the tool and the |
Beta Was this translation helpful? Give feedback.
-
My 2 cents on this discussion:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I recently got tricked up by using 1.9.5 talosctl after upgrading my nodes to 1.10.6 (I thought I was using 1.10.6 client)
It resulted in:
While I like the idea of that, and the use of checks, I have my own usage of
kubent
andkubeconform
.Id like to be able to force upgrades. I know its great to have these checks, but requiring them on the client isn't ideal without a work around.
Some thoughts:
--force
automatically detected the lowest Kubernetes version 1.32.3
is not great. 1.32.7 was valid and would work here but echoing back what I have installed on my nodes with nothing to hint at to what to do really tripped me up. Maybe aClient 1.9.5 cannot go beyond 1.32.x
. That would have literally told me what I was doing wrong.--no-compatibility-check
flag. Also this lets people use their own tools of choice, and you know how people are with their tools of choice 😉I like that talosctl wanted to help me, but it kind of got in the way here based on some choices in opinions, not actual technical reasons.
Thoughts:
talosctl -n 192.168.1.25 upgrade-k8s --to 1.33.3 --force
-> no compatibility check, just (atttempt to do it). error if 1.33.3 isnt available.talosctl -n 192.168.1.25 upgrade-k8s --to 1.32.7 --no-compatibility-check
-> dont force, still see if its available first (like it did) but just skip the checks. Let peoplebreak their own stuffuse their own judgement/compatibility tools if they chooseBeta Was this translation helpful? Give feedback.
All reactions