Is the new Raspberry Pi AI Kit better than Google Coral?
135561 Views
Build Your Own AI Assistant Part 1 - Creating the Assistant
121827 Views
Control Arduino with Python using Firmata / PyFirmata
88872 Views
How to Map with LiDAR - using a Raspberry Pi Zero 2W, RPLidar and Rviz
65602 Views
Creating a Supercomputer with a Raspberry Pi 5 Cluster and Docker Swarm!
60799 Views
Node-Red Automation, MQTT, NodeMCU & MicroPython
53953 Views
How to Keep your Raspberry Pi happy
How to Install Pi-Apps on a Raspberry Pi
Pikon II, The Ultimate DIY Raspberry Pi Camera!
Pico Plotter
LEGO Gets Lights & Sound with Tiny FX
Thinkman
DuckDB - Fast, free analytics
1h 36m
Obsidian
1h 0m
Getting Started with C on the Raspberry Pi Pico
0h 50m
Running K3s on Raspberry Pi
1h 28m
From Docker to Podman
1h 2m
MicroPython Robotics Projects with the Raspberry Pi Pico
0h 54m
Learn how to Program in Python, C, Rust, and more.
Learn Linux from the basics to advanced topics.
Learn how to use a Raspberry Pi Pico
Learn MicroPython the best language for MicroControllers
Learn Docker, the leading containerization platform. Docker is used to build, ship, and run applications in a consistent and reliable manner, making it a popular choice for DevOps and cloud-native development.
Learn how to build SMARS robots, starting with the 3D Printing the model, Designing SMARS and Programming SMARS
Learn how to build robots, starting with the basics, then move on to learning Python and MicroPython for microcontrollers, finally learn how to make things with Fusion 360.
Learn Python, the most popular programming language in the world. Python is used in many different areas, including Web Development, Data Science, Machine Learning, Robotics and more.
Learn how to create robots in 3D, using Fusion 360 and FreeCAD. The models can be printed out using a 3d printer and then assembled into a physical robot.
Learn how to create Databases in Python, with SQLite3 and Redis.
KevsRobots Learning Platform
25% Percent Complete
By Kevin McAleer, 2 Minutes
Page last updated May 24, 2025
In this lesson, youβll install K3s on your Raspberry Pi master node, set up the cluster, and prepare for adding worker nodes.
K3s makes Kubernetes installation fast and easy β especially on resource-limited devices like Raspberry Pi.
From your main computer, SSH into the Pi that will act as the control plane (master):
ssh [email protected]
Replace pi and pi-master.local with your username and hostname or IP if needed.
pi
pi-master.local
Run this one-liner:
curl -sfL https://get.k3s.io | sh -
K3s will:
k3s.service
After installation:
sudo k3s kubectl get nodes
You should see your master node listed as Ready.
Ready
To make kubectl easier to use, copy the K3s kubeconfig to your userβs home directory:
kubectl
mkdir -p ~/.kube sudo cp /etc/rancher/k3s/k3s.yaml ~/.kube/config sudo chown $(id -u):$(id -g) ~/.kube/config
Now you can run:
kubectl get nodes
Youβll need a token to join worker nodes to the cluster:
sudo cat /var/lib/rancher/k3s/server/node-token
Copy the token β youβll use it on the worker nodes in the next lesson.
journalctl -u k3s -e
sudo k3s kubectl
π Your Kubernetes control plane is now running!
Next up: Adding Nodes
< Previous Next >
You can use the arrows β β on your keyboard to navigate between lessons.
β β