Many of the posts I read here are about Docker. Is anybody using Kubernetes to manage their self hosted stuff? For those who’ve tried it and went back to Docker, why?

I’m doing my 3rd rebuild of a K8s cluster after learning things that I’ve done wrong and wanted to start fresh, but when enhancing my Docker setup and deciding between K8s and Docker Swarm, I decided on K8s for the learning opportunities and how it could help me at work.

What’s your story?

  • @TheLordlessBard
    cake
    link
    English
    110 months ago

    Yeah, Kubernetes is designed to run in a cluster so you can pool processing power and memory from multiple devices. I banged my head against the wall for hours trying to figure out how to set up a cluster by hand, but then discovered if you install Rancher in a regular docker container it can handle all that for you

    • @[email protected]
      link
      fedilink
      English
      210 months ago

      No shit. So you’re saying I can hook up like three mini pcs and make a mega at home server!? I gotta look into this. Did you follow a guide or anything you think is good enough or is as easy as a Google?

      • @TheLordlessBard
        cake
        link
        English
        110 months ago

        My recommendation is to look into k3sup and Rancher. I had a lot of trouble trying to install rancher in a docker container and migrating to a cluster after, and k3sup makes it really easy to set up a k3s cluster without having to configure everything manually

        You can accomplish the same task with docker swarm, but I figured it would be better to learn something that wasn’t abandonware

        I haven’t dug into the storage side yet since I have a separate NAS, but it will probably be beneficial to set up something like Ceph, GlusterFS, or Longhorn if you don’t have one

        • @[email protected]
          link
          fedilink
          English
          110 months ago

          Oh I just realized this is for kubernates. Unraid is all dockers. Can a docker swarm also pool resources?

          • @TheLordlessBard
            cake
            link
            English
            110 months ago

            Yep, similar concept. Not sure how well unraid will handle the swarm behavior but I can imagine there’s someone out there who has tried it before