Ubuntu 20.04 Kubernetes 1.26 incompatibility

David Janes
1 min readJan 11, 2023

UPDATE 2023–03–18

This is the way to fix this:

sudo apt remove containerd 
sudo apt update
sudo apt install containerd.io -y
sudo rm /etc/containerd/config.toml

— — — — — — — — — — — — — — — — — — — — — — — — — —

As of 11 Jan 2023, Ubuntu 20 is broken for Kubernetes, because K8S 1.26 is not compatible with Containerd 1.5 (it needs 1.6). The workaround is to keep K8S from upgrading, and if it does, roll it back.

# apt remove — purge kubelet
# apt install -y kubeadm kubelet=1.25.5–00

You can determine what versions you are running with apt

# apt list containerd
containerd/focal-updates,focal-security,now 1.5.9–0ubuntu1~20.04.6 amd64 [installed]
# apt list kubelet
kubelet/kubernetes-xenial 1.26.0-00 amd64 [upgradable from: 1.25.5-00]

Links

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

David Janes
David Janes

Written by David Janes

Entrepreneur. Technologist. Mercenary Programmer.

No responses yet

Write a response