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

0
25
Asked By TechyTurtle42 On

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!

3 Answers

Answered By K3SWizard23 On

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!

TechyTurtle42 -

That’s actually the first thing I tried, but I ran into issues and it kept locking up my Pi.

Answered By DevOpsDude202 On

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.

Answered By ClusterNerd99 On

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!

PiPurchaser88 -

Haha, maybe that’s a good excuse for me to finally get a Raspberry Pi 4!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.