Skip to content

Upgrading

Talos

Because of Longhorn, it's really important to use images from Talos factory that embeds following kernel extensions:

  • siderolabs/iscsi-tools (required for Longhorn and Synology CSI)
  • siderolabs/util-linux-tools (required for Longhorn)
  • siderolabs/gvisor (security - but not working after Talos 1.8.3 as they use containerd v2)
  • siderolabs/intel-i915 (optional, if Intel iGPU)

Controlplane will need to be upgraded first, then worker nodes. If you have only one controlplane node, don't forget to always use the --preserve flag to keep data related to etcd.

Warning

Longhorh requires you to use -preserve flag to keep data related to persistent volumes. Don't forget to use it for any nodes involved in Longhorn cluster. Failure to do so will result in data loss.

Example of upgrade command:

talosctl upgrade -n 192.168.200.112 --image factory.talos.dev/installer/613e1592b2da41ae5e265e8789429f22e121aab91cb4deb6bc3c0b6262961245:v1.7.6 --preserve

References:

Kubernetes

Upgrading Kubernetes is quite straightforward, just run:

talosctl upgrade-k8s --to 1.31.1 -n 192.168.200.101

This should upgrade all nodes in the cluster.

References:

Cilium

Longhorn