Hey there, it’s me again with my cursed project. Last time is said “i basically reinvented Kubernetes”. But the voices won and I legit did.

Last time it was a cursed novelty. A random script made by some autistic dude with too much time on its hand.

Now it’s become its own project, with ecosystem and overpriced .io domain. For no reason other than : It’s cursed, but it works beautifully.

Every Kind is handled by its distinct code. Everything is pluggable, nothing is hardcoded. The next layer of hell is for someone else to write Docker Swarm extensions. Won’t be me.

I am, again, very sorry. Sorry for releasing this thing into the world as a complete, working, product.

And sorry for keeping spamming it. I will stop, i promises (the voices will never)

    • Pokexpert30 🌓@jlai.luOP
      link
      fedilink
      English
      arrow-up
      8
      arrow-down
      1
      ·
      edit-2
      10 hours ago

      The real question is “why would anyone want to use this”. The answer “People are lazy and prefer using docker compose over k3s”.

      I maintain several helmfiles repo, and people asked me “but where docker compose” . So there is your docker compose https://github.com/baptisterajaut/stoatchat-platform/blob/main/docs/compose-deployment.md

      But yeah, all of this shouldn’t exist. Go read the about page in the docs if you’re brave (or bored) enough

      • dimeslime@lemmy.ca
        link
        fedilink
        English
        arrow-up
        6
        ·
        9 hours ago

        I hate that you hate to write this, but good work doing it. I never understood why people perceive k3s as hard and then write pages of docker compose yaml instead. Admittedly my day job got me a CKA, but running k3s at home is barely a step up from docker compose.

        • ebc@lemmy.ca
          link
          fedilink
          English
          arrow-up
          3
          ·
          3 hours ago

          I’m one of these people. Simple answer? It’s the documentation. I’ve given k8s an honest try, but it honestly feels like the “draw the rest of the fucking owl” meme, starts way basic then gets wayy too hard without explaining anything in between.

          Meanwhile docker is 1 file, 1 command to get started.

          Edit: I just realized you were talking about k3s, not k8s. Is that something different somehow? Google says it’s a “k8s” distribution? WTF would that be?

          • dimeslime@lemmy.ca
            link
            fedilink
            English
            arrow-up
            2
            ·
            2 hours ago

            Yeah for reference I’d probably never run the full open source Kubernetes distribution unless I had to, and that would mean having access to millions of dollars of hardware in a datacenter.

            K3s is a lightweight Kuberbetes distribution that implements the full Kuberbetes API (full-ish? Maybe?). It’s super easy to run on Linux, I run a 3 node cluster with GPUs at home. Its only real downside is the backend is a single point of failure, but that’s ok for me cause it’s run from my storage node with all the disks, so if that disappears I have bigger problems.

            There are others like microk8s which can handle control plane failures, but it’s for that reason that I also dislike it - they wrote their own distributed sqlite instance and it failed on me, a story for another time.

            Minikube can run on your desktop, it’s also an option.

            But if you have docker desktop, you also have a built in Kuberbetes API server too, just have to enable it with one checkbox (not a full API server, but good enough for installing helm charts).

            Kind is a docker based Kubernetes server but I think that’s in the realm of testing not running. I believe K0s is in this camp too but could be wrong.

            At work the daily driver will be one of EKS, GKE, AKS, or whichever cloud providers implementation. They’re effectively free and a loss leader because you’ll pay for instances anyway (at least on EKS, I’m most familiar with that one).

            But if you’re interested in learning, start with docker desktops k8s API, or minikube, or k3s if you have a Linux host or raspberry Pi lying around.

            🌈The more you know!🌈

      • CallMeAl (Not AI)@piefed.zip
        link
        fedilink
        English
        arrow-up
        4
        ·
        10 hours ago

        People are lazy

        Yeah, that tracks. It sounds like Type 1 Laziness: people who don’t want to do anything.

        I sense you make this because you are Type 2 Lazy: Happy to learn and make 100 new things to avoid having to do a boring thing more than once. That’s something I can both appreciate and relate to.

      • Pokexpert30 🌓@jlai.luOP
        link
        fedilink
        English
        arrow-up
        5
        ·
        10 hours ago

        It never was the goal. The goal was to escape docker compose. Ended up opening portals to other dimensions. Live and learn

    • Pokexpert30 🌓@jlai.luOP
      link
      fedilink
      English
      arrow-up
      6
      ·
      edit-2
      10 hours ago

      I mean, it’s yaml manipulation. It was either python or perl, but i wasn’t fucking with perl, i’m insane not mad (or the other way around)

      • redsand@infosec.pub
        link
        fedilink
        English
        arrow-up
        3
        ·
        9 hours ago

        Perl is perfect for curses you have no intention of maintaining. You can pack more dark magic per line.

      • androidul@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        9 hours ago

        Perl is way crazier than Python that’s for sure. Don’t get me wrong, it’s a nice project, Python gets you there really fast because the la gauge is loosely coupled, just that when it’s failing it’s blowing up on all ends & it’s not so deterministic, meaning what you run on machine-a will be exactly the same on machine-b.

    • dimeslime@lemmy.ca
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 hours ago

      Curious what you would use instead? I can only think of one wrong answer and that’s Jsonnet.

      • androidul@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        4
        ·
        9 hours ago

        Would’ve written a Golang program and spit-out a binary for everyone to execute on any machine.

        No dependency problems, it’s portable, it’s deterministic — all that you need. Everything is packed in that binary, dependencies, your core logic.

          • androidul@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            5 hours ago

            not only, you can go ahead and run a Go program as is, without compiling as well 😆

            TIL about the onefile, 10x for sharing, can you guarantee that runs everywhere?

            • moonpiedumplings@programming.dev
              link
              fedilink
              English
              arrow-up
              2
              ·
              4 hours ago

              go run works by compiling the program to a temporary executable and then executing that.

              can you guarantee that runs everywhere

              It seems to depend on glibc versions, if that’s what you are asking. You can force it to be more static by using a static musl python or via other tools. Of course, a binary for Linux only runs on Linux and the same for Windows and Mac. But yeah.

              Also it should be noted that go binaries that use C library dependencies are not truly standalone, often depending on glibc in similar ways. Of course, same as pyinstaller, you can use musl to make it more static.