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
30% Percent Complete
By Kevin McAleer, 2 Minutes
Page last updated May 24, 2025
With your K3s control plane (master) running, itโs time to expand your cluster by adding worker nodes.
In this lesson, youโll SSH into each worker Pi and join it to the K3s cluster using a one-liner join command.
Worker nodes use:
k3s agent
On your master node, run:
sudo cat /var/lib/rancher/k3s/server/node-token
It will look something like:
K108f02c5486e1bdf7a9a7f25a2e7aa3c2c74fa67cced8b31332f5c1b715c962c::server:5bc9c3f0d9249...
Copy this token to use on all worker nodes.
On each worker Pi:
SSH into the node:
ssh [email protected]
Run the installer with the following environment variables:
curl -sfL https://get.k3s.io | K3S_URL=https://<MASTER-IP>:6443 K3S_TOKEN=<YOUR_TOKEN> sh -
Replace <MASTER-IP> and <YOUR_TOKEN> with:
<MASTER-IP>
<YOUR_TOKEN>
192.168.1.100
โ Example: curl -sfL https://get.k3s.io | K3S_URL=https://192.168.1.100:6443 K3S_TOKEN=K108f0... sh -
โ Example:
curl -sfL https://get.k3s.io | K3S_URL=https://192.168.1.100:6443 K3S_TOKEN=K108f0... sh -
Back on the master node:
kubectl get nodes
You should now see your worker(s) listed:
NAME STATUS ROLES AGE VERSION pi-master Ready control-plane,master 10m v1.29.2+k3s1 pi-node1 Ready <none> 1m v1.29.2+k3s1 pi-node2 Ready <none> 1m v1.29.2+k3s1
k3s-agent
6443
K3S_URL
--token
journalctl -u k3s-agent -e
๐ Your K3s cluster is now multi-node and ready to deploy workloads!
Next up: Troubleshooting Installation
< Previous Next >
You can use the arrows โ โ on your keyboard to navigate between lessons.
โ โ