How can I set up a two-node cluster using a Raspberry Pi and a laptop?

July 21, 2025 3 answers
Asked by +extra mittens
I'm trying to create a heterogeneous two-node cluster using my Raspberry Pi 3B Plus and a Dell Latitude laptop, both connected via Ethernet on the same network. I want to run more containers on this cluster than I could individually on either device. I'm not sure where to start or look for documentation on how to achieve this. Any guidance would be appreciated!

Answers

Purl
It sounds like you might need to add another Raspberry Pi to your setup. Kubernetes typically requires an odd number of nodes to maintain quorum in etcd, so having just the two might not provide the best distributed experience. If you can grab another Pi, youโ€™ll be in a better spot!

4arcsec-error: Haha, maybe thatโ€™s a good excuse for me to finally get a Raspberry Pi 4!

Reply to this answer
sandstone sample+
Keep in mind that you have devices with different architectures (Arm64 for the Pi and x86-64 for the laptop), which makes it tricky. Youโ€™re going to want to look into creating multi-architecture containers, as x86 containers wonโ€™t run smoothly on the Raspberry Pi.
Reply to this answer
Echidna
Have you considered using k3s? It's super easy to set up. You can install it on one device first and then get your other machine to join with just a couple of commands. It might be exactly what you need!

+extra mittens: Thatโ€™s actually the first thing I tried, but I ran into issues and it kept locking up my Pi.

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions