Upgrade Containerd to 2.x
published at 2025-01-16, by José Luis Salvador Rufo.
By default, SimpleK8s does not upgrade third-party files automatically.
Containerd has upgraded from 1.x to 2.x, which also introduces changes to its configuration file.
Follow these steps to upgrade Containerd:
- Ensure you are using at least SimpleK8s version 202501171928, download it here.
- Stop the Containerd service:
systemctl stop containerd
- Restore Containerd binary from factory:
cp /usr/share/factory/usr/local/bin/containerd /usr/local/bin/containerd
- Delete the deprecated configuration file:
rm /etc/containerd/config.toml
- Restart the Containerd service. The configuration file
(
/etc/containerd/config.toml
) will be recreated automatically.systemctl start containerd