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?

  • vojel@feddit.de
    link
    fedilink
    English
    arrow-up
    27
    ·
    1 year ago

    I run k3s and all my stuff runs in it no need to deal with docker anymore.

    • Limit@lemm.ee
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      I’m not very familiar with kubernetes or k3s but I thought it was a way to manage docker containers. Is that not the case? I’m considering deploying a k3s cluster in my proxmox environment to test it out.

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

        You can use kubernetes on any OCI container deployment.

        So if you don’t want/need to install the docker program, you can go with containerd.

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

        Kubernetes is abbreviated K8s (because there’s 8 letters between the “k” and the “s”. K3s is a “lite” version. Generally speaking, kubernetes manages your containers. You basicaly tell K8s what the state should be and it does what it needs to do to get the environment as you’ve declared. It’ll check and start or restart services, start containers on a node that can run them (like ensuring enough RAM is available). There’s a lot more, but that’s the general idea.

      • vojel@feddit.de
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        Oh it is not that much, I run adguard DNS with adblocking, searxng as my search engine, vaultwarden as my password manager. All combined with Argo CD as GitOps engine, nginx ingress with cert-manager for lets encrypt certificates, longhorn as storage layer and metallb as loadbalancer solution. I am planning to completely replace my current setup (which is an old sandy bridge powered HP microserver) with a turing pi 2 clusterboard with 4 RPi4 CMs as soon as they get cheaper.

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

          Wow you’re self-hosting a password manager! Don’t you feel scared if something went wrong?

          I’m also running Adguard as my DNS-level adblocker on my Pi 3. Feels way more content than Pihole.

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

      How did you write your templates? Did you use Kompose to translate from Docker compose files, or did you write them from scratch?