So I’ve been running a little 2 node rpi kubernetes cluster for over a year now, bootstrapped with Ansible and Helm (source). I picked Ubuntu Server at the time because I think the official 64-bit Raspbian OS was still young or maybe not even out at the time (can’t quite remember) but I’ve found myself fighting with Ubuntu an awful lot culminating in a major version upgrade to “jammy” last night that has wrecked one of my nodes. It even tried to delete the running kernel during the upgrade but caught itself and asked me to confirm, wtf. I’ve never experienced a Linux upgrade this bad. Yeah, “jammy” is right. Luckily I use a separate NAS for persistence. So I’m breaking up with Ubuntu, which I think is the cool thing to do these days anyway, and using this as an opportunity to rebuild and clean up my IaC.

I am most familiar with Red Hat distros (Fedora/CentOS daily drivers for years now, RHEL servers at work) though I’m not familiar with the ARM ecosystem there. Ive also been wanting to try NixOS for a while but looking at some of the rpi config last night had me a little concerned because it felt unfamiliar. Then of course there’s the Official Raspbian OS, 64 bit support should be solid by now.

What OS are you using for your Raspberry Pi servers? Any I should definitely avoid?

  • livingcoder@lemmy.austinwadeheller.com
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I’ve only ever used Ubuntu 64-bit on my RaspberryPis without much issue, but honestly, all I ever use them for is hosting docker containers for systems that generally work out-of-the-box. I don’t have them clustered in any way (yet). I’m not doing anything fancy (yet).

    If you or anyone else has a suggestion for an OS that is super slim and runs Docker, I’d love to hear about it. I don’t need the desktop environment whatsoever.

    • macgregor@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      So the only “problem” I had with Ubuntu before this terrible upgrade was having to uninstall snap (which isn’t straight forward to do since it’s so engrained but also not terrible) because it uses a non trivial amount of resources for the little rpi - CPU, memory, start up time - just existing. I also found myself removing other packages/config because I found it annoying, like the motd/apt notice to upgrade or subscribe to some kind of “pro” plan for some security upgrades, ESM something? That raised my eyebrow.

      I have plenty of respect for Ubuntu, it’s just leaving a bad taste in my mouth lately so I’ll let them simmer for a while as I try out another distro. I’ll probably end up with something red hat based, but I won’t have time to look until the weekend.

  • zueski@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I use Manjaro for nearly all of my pi’s, mostly because it is arch based and supports newer libraries.___

  • Noodlez@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I’m weird and use ArchLinux ARM on my Raspberry Pi computers. I think it’s much easier to admin, especially if you don’t need video accelleration, but I use Arch on the daily, so that’s probably why I feel that way.

    I also find that Fedora was pretty nice as well, but felt too bloated for what I needed.

    Finally, Alpine was amazing. I used to use it as my daily driver for a while as well, and it is nice, lean, and easy to use. The main downside is that it uses the musl libc meaning sometimes packages won’t work, or things won’t compile. That was very uncommon though and the exception , not the rule.

    The main problem I’ve had on ALL of those distributions were the clock. The Raspberry Pi doesn’t have a built-in clock, so you need to use NTP to pull the time down, or else it’ll be extremely out of sync. This means setting up your timezone, etc. RPi OS does this for you, but most DIY distros (Alpine, Arch) will not, so you’ll need to set that up.

    • macgregor@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      I’ve used alpine for minimal container images, but never as a workstation or server (or arch for that matter). Config management isn’t an issue, I already ansibilized my config and a significant amount is removing crap I don’t want for Ubuntu so maybe going minimal and installing exactly what I need is would be cleaner. Hmmm. Tempting.