Okay Kubernetes people. I am about to build my first cluster with 4 Raspberry Pi 4B 4gb models powered over POE.

I was going to host just some basic stuff on it (forgejo, a couple Ghost Blogs) and try hosting a Mastodon instance.

The documentation mentioned that I should not use the SD cards for database stuff. So I was going to get some super short thumb drives.

What is everyone else’s set up look like with raspberry pis? And how important is matching hardware?

I’m sure I’ll learn more from reading the documents but this is my concern right now.

(I was also required to upload a photo so have my Latitude D630)

  • Egonallanon@feddit.uk
    link
    fedilink
    English
    arrow-up
    12
    ·
    1 month ago

    I’d avoid super short USB drives if you can as they tend just to be SD cards in disguise.

    If possible for dB stuff I would recommend using actual drives as lots of reads and writes will very quickly wear out most removable storage devices.

  • curled@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 month ago

    Depending on what you’re going to do with the cluster, 4gb of RAM per node feels rather limiting.

    Anyways, as far as storage goes I’m using 4 compute blades loaded with 4 8gb RAM versions of the CM4, each with a 500gb Samsung PM9A1 running Talos to save a bit on that precious RAM.

    Got Talos up and running with some help from Onedr0p’s cluster template which saved me a lot of time on the learning curve.

  • irotsoma@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 month ago

    I have m.2 hats for the couple of raspberry pis that need more intense disk operations. Never use SD cards or flash drives, which generally end up being just SD cards in a USB package.