-
|
Dear all, I think I somehow reverted back to an older k8s version when I implemented the talos-backup recently. So now I seem to be stuck with Talos 1.13.2 and k8s 1.30.3. And both Any idea how to safely break the cycle? Revert back to an older Talos release? Manual k8s upgrade](https://docs.siderolabs.com/kubernetes-guides/advanced-guides/upgrading-kubernetes#manual-kubernetes-upgrade)? Kind Regards, $ talosctl --talosconfig ./talosconfig upgrade-k8s --to 1.31.0
automatically detected the lowest Kubernetes version 1.30.3
discovered controlplane nodes ["XXX"]
discovered worker nodes []
> "XXX": Talos version 1.13.2 is compatible with Kubernetes version 1.31.0
checking for removed Kubernetes component flags
checking for removed Kubernetes API resource versions
> "192.168.99.241": pre-pulling registry.k8s.io/kube-apiserver:v1.31.0
> "192.168.99.241": pre-pulling registry.k8s.io/kube-controller-manager:v1.31.0
> "192.168.99.241": pre-pulling registry.k8s.io/kube-scheduler:v1.31.0
> "192.168.99.241": pre-pulling ghcr.io/siderolabs/kubelet:v1.31.0
updating "kube-apiserver" to version "1.31.0"
> "XXX": starting update
> update kube-apiserver: v1.30.3 -> 1.31.0
failed updating service "kube-apiserver": error updating node "192.168.99.241": error patching node config: error applying config: rpc error: code = InvalidArgument desc = 1 error occurred:
* v1alpha1.Config: 3 errors occurred:
* kubelet image is not valid: version of Kubernetes 1.30.3 is too old to be used with Talos 1.13.2
* kube-controller-manager image is not valid: version of Kubernetes 1.30.3 is too old to be used with Talos 1.13.2
* kube-scheduler image is not valid: version of Kubernetes 1.30.3 is too old to be used with Talos 1.13.2
$$ talosctl apply-config --talosconfig=./talosconfig --mode reboot --file controlplane.yaml
error applying new configuration: 1 error occurred:
* XXX: rpc error: code = InvalidArgument desc = 1 error occurred:
* v1alpha1.Config: 3 errors occurred:
* kube-apiserver image is not valid: version of Kubernetes 1.30.3 is too old to be used with Talos 1.13.2
* kube-controller-manager image is not valid: version of Kubernetes 1.30.3 is too old to be used with Talos 1.13.2
* kube-scheduler image is not valid: version of Kubernetes 1.30.3 is too old to be used with Talos 1.13.2
$ |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 16 replies
-
|
Please update talosctl to the latest |
Beta Was this translation helpful? Give feedback.
-
|
I wonder how you ended up like this (?) - Talos shouldn't let you boot even with unsupported Kubernetes version in the machine config. |
Beta Was this translation helpful? Give feedback.
-
|
For the record: Using an older talosctl (1.12.7) does not work. |
Beta Was this translation helpful? Give feedback.
-
|
Patching using |
Beta Was this translation helpful? Give feedback.
yes, we have a bug with validation, it should have prevented you from even booting/upgrading.
Right now the only option is to manually patch all references to Kubernetes image on each machine to a supported version (all at once).