Issues with Lab in 3.1 on Ubuntu 22.04 on AWS
Hi, I hope this saves some other people a whole bunch of time. Following the instructions on the course didn't work for me - the control plane containers were in crash loops as nothing could talk to ectd (I think). Lots of these errors in sys log:
"Failed creating a mirror pod for" err="Post \"https://k8scp:6443/api/v1/namespaces/kube-system/pods\": dial tcp 172.31.12.59:6443: connect: connection refused" pod="kube-s ystem/kube-controller-manager-ip-172-31-12-59"
And loads of connection refused to localhost:2379 in the container logs (/var/log/containers/...)
I found a fix for the issue described here: https://stackoverflow.com/questions/55571566/unable-to-bring-up-kubernetes-api-server
Basically, after you've installed containerd and set up the config in these steps:
apt-get update && apt-get install containerd.io -ycontainerd config default | tee /etc/containerd/config.toml
Do this:
sed -i 's/SystemdCgroup = false/SystemdCgroup = true/g' /etc/containerd/config.toml
BEFORE
systemctl restart containerd
And everything should work....
Comments
-
Hi @hopkinsjason7,
Following the instructions on the course didn't work for me
You are correct, the instructions were never tested on Ubuntu 22.04. However, the same instructions from the lab guide are calling for Ubuntu 20.04, and, if followed closely they should work.
Regards,
-Chris0 -
Попаднах на много високо ниво, тук при вас което не е за мен. Преди няколко години съм работил с Убунту, май беше 16, но тия дни инсталирах Убунту 22.04 и представете си не мога да намеря Офиса, а искам да си водя записки.
Моля, ако някой желае да ми обясни как да стигна до Офиса. Текстовия редактор не ми върши работа.
Благодаря предварително!0 -
Hi @hadgiyata,
This forum is not intended for Ubuntu and Microsoft products, such as Office, compatibility. I would recommend finding a forum dedicated for the Ubuntu OS and post your question there.
Regards,
-Chris0
Categories
- All Categories
- 177 LFX Mentorship
- 177 LFX Mentorship: Linux Kernel
- 750 Linux Foundation IT Professional Programs
- 373 Cloud Engineer IT Professional Program
- 169 Advanced Cloud Engineer IT Professional Program
- 74 DevOps IT Professional Program - Discontinued
- 4 DevOps & GitOps IT Professional Program
- 99 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- 1 AI & ML Training
- 1 Blockchain & Decentralized Identity Training
- 5 Cloud & Containers Training
- 1 Cybersecurity Training
- 2 DevOps & Site-Reliability Training
- 1 Linux Kernel Development Training
- 1 Networking Training
- 2 Open Source Best Practice Training
- 1 System Administration Training
- 1 System Engineering Training
- 1 Web & Application Development Training
- 792 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 95 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 87 Storage
- 769 Linux Distributions
- 81 Debian
- 68 Fedora
- 22 Linux Mint
- 13 Mageia
- 24 openSUSE
- 150 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 465 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 98 Linux Security
- 78 Network Management
- 101 System Management
- 46 Web Management
- 106 Mobile Computing
- 18 Android
- 73 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 392 Off Topic
- 121 Introductions
- 181 Small Talk
- 29 Study Material
- 955 Programming and Development
- 310 Kernel Development
- 627 Software Development
- 984 Software
- 376 Applications
- 182 Command Line
- 5 Compiling/Installing
- 68 Games
- 317 Installation
- Archived
- 2 LFD140 Class Forum
- 1.4K LFS258 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)