LFS258 updated to k8s 1.31.1 and Ubuntu 24.04 (9/30/2024)
Hi,
Kubernetes Administration (LFS258) has been updated to Kubernetes v1.31.1 and Ubuntu 24.04. We have updated the scripts, YAMLs, and lab content to align with the new version. Course lectures have received some minor updates as well.
To ensure you have access to the latest course version, please clear your cache.
Regards,
Flavia
Linux Foundation Education
Comments
-
LFS258-labs_V2024-09-30.pdf, chapter 3 step 21:
I suppose this option is wrong:--node-name=cp
and it produces:[WARNING Hostname]: hostname "cp" could not be reached
instead it should say:--node-name=k8scp0 -
Hi @PetroKazmirchuk,
If you pay close attention to the training guide, and the warning produced by the command, you can easily see that
cpis the actual hostname of the control plane node. In the context of the lab guide, the command is correct. While using thek8scpalias works, setting the node name as such during theinitphase introduces inconsistencies in your environment and eventually conflicts in later lab exercises.Make sure to use the control plane hostname of your Kubernetes cluster, or simply
cpif it is included in the/etc/hostsfile together with thek8scpalias.Regards,
-Chris1 -
understood, many thanks for your quick reply!
0 -
Hello TLF Team,
I'm a bit confused.
Currently I'm going through the LFS258 and I'm in the beginning part at Lab 3.1. Install Kubernetes.Step 14, pertaining to downloading the GPG key for the K8s repo reads:
root@cp: ̃# curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.29/deb/Release.key \ | sudo gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg
So according to the above we'd be working with K8s v1.29.
Step 15, pertaining to adding the Deb repository for which we presumably added the GPG key in the previous step, reads:
root@cp: ̃# echo "deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] \ https://pkgs.k8s.io/core:/stable:/v1.30/deb/ /" \ | sudo tee /etc/apt/sources.list.d/kubernetes.list
Unless I read this wrong, the above would imply that we should actually install K8s v1.30.
Not only that but since in Step 14 we added the GPG key for v1.29 and now we're adding the repo for v1.30, won't that generate some errors when trying to do anapt update?Also the instructions in Steps 9-10 of this lab guide, still mention the the commands below which as I understand apply for K8s v1.29 and older (in the official K8s documentation for preparing the installation of a container runtime, they seem to have disappeared starting with v1.30):
root@cp: ̃# modprobe overlay root@cp: ̃# modprobe br_netfilter ... net.bridge.bridge-nf-call-ip6tables = 1 net.bridge.bridge-nf-call-iptables = 1
OTOH, this post announces that the course has been updated to use K8s v1.31.
I guess my question is:
With which version of K8s are we supposed to follow along for the remainder of the course?Thank you in advance.
Best regards,
Adrian0 -
Hi @admusin,
Thanks for pointing out the typo... that is the /v1.29/ in the command retrieving the gpg key. For consistency, it should be /v1.30/, however, the gpg key remains the same for all releases. Therefore, what matters most is the Kubernetes package you download, which is the correct version v1.30 for Lab 3. With a little patience, once you reach Lab 4, v1.31 will be revealed

Regards,
-Chris1 -
Hi Chris,
Thanks for the clarification.
Reading further through the lab PDF I could see that indeed the v1.30 was being installed so I suspected as much.
But thanks for confirming it and for pointing out the reason we're starting with v1.30 and not the latest.
Best regards,
Adrian0
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
- 3 Cloud & Containers Training
- 1 Cybersecurity Training
- 2 DevOps & Site-Reliability Training
- 1 Linux Kernel Development Training
- 1 Networking Training
- 1 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
- 983 Software
- 375 Applications
- 182 Command Line
- 5 Compiling/Installing
- 68 Games
- 317 Installation
- Archived
- 2 LFD140 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)