I currently run all my self-hosted apps either on Podman in a VM or in LXCs on Proxmox. For hardware, I’m using a Chinese-made mini computer with an Intel N150 and 16GB of DDR5 RAM that I bought before the whole AI hype started. I also have a Synology NAS that I use mainly for media and photo storage.

I’ve been thinking about tinkering with Kubernetes in my homelab for a while now (I already use it extensively at work, so I’m quite familiar with it), and I started looking around for used hardware to use as bare metal nodes. Nothing fancy—I’m looking for 1 or 2 mini servers or SFF with at least 16GB of memory and a decent CPU (4–6 cores). But with current prices, even decently priced used hardware (~200–250€) is quite difficult to find in Europe, and most of it is HP stuff with Lenovo being a rare breed around here. I won’t even get started on newly bought hardware…

If you’ve bought hardware in this market recently, how did it go for you? Or are most of you holding out for now, waiting for better times?

  • moonpiedumplings@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    14 hours ago

    They don’t have to support it. It’s more that the database they are connecting to supports HA, and/or both are using shared storage. So when one container dies, kubernetes restarts another container on another node with the same shared storage attached.

    Docker is often configured to automatically restart containers when a container dies, just in case it’s a one off bug or something like that, and kubernetes is like a more resilient version of that.

    • hirihit640@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 hours ago

      I’m aware of databases that support HA, but the vast majority of self-hosted apps I’ve encountered use file storage, even if they have a database as well. It sounds like you’re proposing shared storage like an NFS share. But if you’re upgrading nodes, at some point you have to upgrade the node hosting the shared storage right? Wouldn’t that take down all services? Unless you use a distributed storage system, but I’ve heard those can get very complicated…

      • moonpiedumplings@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        11 hours ago

        Kubernetes makes distributed storage easy.

        Basically, all the components get deployed for you, since that’s part of what kubernetes is good at.

        And then, services/containers can provision storage by requesting storage via making a “claim” and whatever distributed storage providee you have gives it to you.