Raspberry Pi Incus Cluster

I have build up an Incus cluster with 4 Raspberry Pi 4 (8GB) in a nice metal case. I build it mostly for tinkering with it. Let's see if it gets a serious purpose. For my NAS, SyncThing and other servers I have a Lenovo ThinkCentre M900 Tiny I7-6700T Proxmox host. I had 3 spare RPi4s and as the prices dropped with the arrival of the Pi5 I bought another RPi4 to complete my build.

4x Raspberry Pi Cluster in metal case (jpg)

The RPis are separately screwed in their slots together with their corresponding SSDs. Below the slots is a space for my 5 port managed switch to connect all the Pis with the router (or other switch).

Incus Manager

I chose Raspberry Pi OS with Incus as a system container and virtual machine manager contrary to LXD which is now owned by Canonical and I don't like to be bound to corporate interests. I don't want to need to buy a "Pro" version in future or what Canonical comes up with. LXD and Incus will diverge for sure but I think Incus is my best bet.

Incus on Linuxcontainers.org

The host systems are on VLAN50 and the containers are on VLAN55 (macvlan). With macvlans it's easy to add additional VLANs for special purposes.

Cluster List

Here is a list of the four Incus cluster hosts and they're fully operational.

Container List

For now I only have 2 containers running. They can be moved around the different hosts when stopped. Online moving doesn't work with containers reliably, so they must be stopped first and then after the move started again.

Remote controlling the cluster from my laptops/desktop

It's easy to set up Incus in a way that you can control the cluster as a "remote". With this feature you can launch/move/start/stop containers/VMs or evacuate a cluster member. You can control the cluster as if you were logged into one of it's hosts. All functions are provided. Very nice.

A lot of supported images

There are really a lot of downloadable and ready-to-use container and VM images for incus and arm64. From AlmaLinux to VoidLinux. You can get a complete list for the supported platform with the following command:

$ incus image list images: arm64|less

My own private Cloud

Although it's a toy project for now I have my own arm64 based cloud. I think I'll find some proper usage for it in the future. If you have any cool ideas write me an email. Any advice, comment or (constructive) criticism is appreciated.

All in all - Have fun!

-fab-

--

Back to index

Homepage

Proxied content from gemini://redterminal.org/gemlog/2024-03-01-Raspberry_Pi_Incus_Cluster.gmi

Gemini request details:

Original URL
gemini://redterminal.org/gemlog/2024-03-01-Raspberry_Pi_Incus_Cluster.gmi
Status code
Success
Meta
text/gemini;lang=en
Proxied by
kineto

Be advised that no attempt was made to verify the remote SSL certificate.