kubeadm doesn't work with containerd version of apt install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
containerd (Ubuntu) |
Triaged
|
Low
|
Unassigned | ||
Focal |
Triaged
|
Low
|
Unassigned |
Bug Description
Version of Ubuntu:
Description: Ubuntu 22.04 LTS
Release: 22.04
kubeadm:
Installed: 1.24.2-00
Candidate: 1.24.2-00
Package that has the problem:
containerd:
Installed: 1.5.9-0ubuntu3
Candidate: 1.5.9-0ubuntu3
Version table:
*** 1.5.9-0ubuntu3 500
500 http://
100 /var/lib/
Problem:
Kubeadm is not compatibile with this version of containerd that is installed by `apt install containerd`.
If I use `kubeadm init` it will create a cluster which instead of staying alive will die after a couple of minutes.
The problem is in the config file of containerd, which has the following parameter set to false: `SystemdCgroup = false`
Solution:
To solve this, the containerd config parameter SystemdCgroup needs to be set to true.
It is set to true in the containerd v1.6.2, but by default, apt installs the version v1.5.9, which worked on Ubuntu 20.04 but does not work for Ubuntu 22.04.
Changed in containerd (Ubuntu Focal): | |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in apt (Ubuntu Focal): | |
status: | New → Invalid |
Status changed to 'Confirmed' because the bug affects multiple users.