Skip to content
  • Categories
  • Recent
  • Popular
  • World
  • Users
  • Feed
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

NodeBB Playground

  1. Home
  2. Categories
  3. Selfhosted
  4. Best Practice Ideas

Best Practice Ideas

Scheduled Pinned Locked Moved Selfhosted
selfhosted
13 Posts 7 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N non_burglar@lemmy.world

    Running the k8s in their own VM will allow you to hedge against mistakes and keep some separation between infra and kube.

    I personally don't use proxmox anymore, but I deploy with ansible and roles, not k8s anymore.

    nagaram@startrek.websiteN This user is from outside of this forum
    nagaram@startrek.websiteN This user is from outside of this forum
    nagaram@startrek.website
    wrote last edited by
    #4

    Ansible is next on my list of things to learn.

    I don't think I'll need to dedicate all of my compute space to K8s probably just half for now.

    C 1 Reply Last reply
    0
    • nagaram@startrek.websiteN nagaram@startrek.website

      Ansible is next on my list of things to learn.

      I don't think I'll need to dedicate all of my compute space to K8s probably just half for now.

      C This user is from outside of this forum
      C This user is from outside of this forum
      corsicanguppy@lemmy.ca
      wrote last edited by
      #5

      Ansible is next on my list of things to learn.

      Ansible is y2k tech brought to you in 2010. Its workarounds for its many problems bring problems of their own. I'd recommend mgmtconfig, but it's a deep pool if you're just getting into it. Try Chef(cinc.sh) or saltstack, but keep mgmtconfig on the radar when you want to switch from 2010 tech to 2020 tech.

      K N 2 Replies Last reply
      0
      • C corsicanguppy@lemmy.ca

        Ansible is next on my list of things to learn.

        Ansible is y2k tech brought to you in 2010. Its workarounds for its many problems bring problems of their own. I'd recommend mgmtconfig, but it's a deep pool if you're just getting into it. Try Chef(cinc.sh) or saltstack, but keep mgmtconfig on the radar when you want to switch from 2010 tech to 2020 tech.

        K This user is from outside of this forum
        K This user is from outside of this forum
        kata1yst@sh.itjust.works
        wrote last edited by
        #6

        Wow, huge disagree on saltstack and chef being ahead of Ansible. I've used all 3 in production (and even Puppet) and watched Ansible absolutely surge onto the scene and displace everyone else in the enterprise space in a scant few years.

        Ansible is just so much lower overhead and so much easier to understand and make changes to. It's dominating the configuration management space for a reason. And nearly all of the self hosted/homelab space is active in Ansible and have tons of well baked playbooks.

        C 1 Reply Last reply
        0
        • C corsicanguppy@lemmy.ca

          Ansible is next on my list of things to learn.

          Ansible is y2k tech brought to you in 2010. Its workarounds for its many problems bring problems of their own. I'd recommend mgmtconfig, but it's a deep pool if you're just getting into it. Try Chef(cinc.sh) or saltstack, but keep mgmtconfig on the radar when you want to switch from 2010 tech to 2020 tech.

          N This user is from outside of this forum
          N This user is from outside of this forum
          non_burglar@lemmy.world
          wrote last edited by
          #7

          My issue with mgmt.config is that it bills itself as an api-driven "modern" orchestrator, but as soon as you don't have systemd on clients, it becomes insanely complicated to blast out simple changes.

          Mgmt.config also claims to be "easy", but you have to learn MCL's weird syntax, which the issue I have with chef and its use of ruby.

          Yes, ansible is relatively simple, but it runs on anything (including being supported on actual arm64) and I daresay that layering roles and modules makes ansible quite powerful.

          It's kind of like nagios... Nagios sucks. But it has such a massive library of monitoring tricks and tools that it will be around forever.

          C 1 Reply Last reply
          0
          • N non_burglar@lemmy.world

            My issue with mgmt.config is that it bills itself as an api-driven "modern" orchestrator, but as soon as you don't have systemd on clients, it becomes insanely complicated to blast out simple changes.

            Mgmt.config also claims to be "easy", but you have to learn MCL's weird syntax, which the issue I have with chef and its use of ruby.

            Yes, ansible is relatively simple, but it runs on anything (including being supported on actual arm64) and I daresay that layering roles and modules makes ansible quite powerful.

            It's kind of like nagios... Nagios sucks. But it has such a massive library of monitoring tricks and tools that it will be around forever.

            C This user is from outside of this forum
            C This user is from outside of this forum
            corsicanguppy@lemmy.ca
            wrote last edited by
            #8

            have to learn MCL’s weird syntax

            You skewer two apps for syntax, but not Ansible's fucking YAML? Dood. I'm building out a layered declarative config at the day-job, and it's just page after page with python's indentation fixation and powershell's bipolar expressions. This is better for you?

            N 1 Reply Last reply
            0
            • K kata1yst@sh.itjust.works

              Wow, huge disagree on saltstack and chef being ahead of Ansible. I've used all 3 in production (and even Puppet) and watched Ansible absolutely surge onto the scene and displace everyone else in the enterprise space in a scant few years.

              Ansible is just so much lower overhead and so much easier to understand and make changes to. It's dominating the configuration management space for a reason. And nearly all of the self hosted/homelab space is active in Ansible and have tons of well baked playbooks.

              C This user is from outside of this forum
              C This user is from outside of this forum
              corsicanguppy@lemmy.ca
              wrote last edited by
              #9

              I’ve used all 3 in production (and even Puppet) and watched Ansible absolutely surge onto the scene and displace everyone else in the enterprise space in a scant few years.

              Popular isn't always better. See: Betamax/VHS, Blu-ray vs HDDVD, skype/MSSkype, everything vs Teams, everything vs Outlook, everything vs Azure. Ansible is accessible like DUPLO is accessible, man, and with the payola like Blu-ray got and the pressuring like what shot systemd into the frame, of course it would appeal to the C-suite.

              Throwing a few-thousand at Ansible/AAP and the jagged edges pop out -- and we have a team of three that is dedicated to Nagios and AAP. And it's never not glacially slow -- orders of magnitude slower than absolutely everything.

              K 1 Reply Last reply
              0
              • C corsicanguppy@lemmy.ca

                I’ve used all 3 in production (and even Puppet) and watched Ansible absolutely surge onto the scene and displace everyone else in the enterprise space in a scant few years.

                Popular isn't always better. See: Betamax/VHS, Blu-ray vs HDDVD, skype/MSSkype, everything vs Teams, everything vs Outlook, everything vs Azure. Ansible is accessible like DUPLO is accessible, man, and with the payola like Blu-ray got and the pressuring like what shot systemd into the frame, of course it would appeal to the C-suite.

                Throwing a few-thousand at Ansible/AAP and the jagged edges pop out -- and we have a team of three that is dedicated to Nagios and AAP. And it's never not glacially slow -- orders of magnitude slower than absolutely everything.

                K This user is from outside of this forum
                K This user is from outside of this forum
                kata1yst@sh.itjust.works
                wrote last edited by
                #10

                Yeah, similar sized environments here too, but had good experiences with Ansible. Saw Chef struggle at even smaller scales. And Puppet. And Saltstack. But I've also seen all of them succeed too. Like most things it depends on how you run it. Nothing is a perfect solution. But I think Ansible has few game breaking tradeoffs for it's advantages.

                1 Reply Last reply
                0
                • C corsicanguppy@lemmy.ca

                  have to learn MCL’s weird syntax

                  You skewer two apps for syntax, but not Ansible's fucking YAML? Dood. I'm building out a layered declarative config at the day-job, and it's just page after page with python's indentation fixation and powershell's bipolar expressions. This is better for you?

                  N This user is from outside of this forum
                  N This user is from outside of this forum
                  non_burglar@lemmy.world
                  wrote last edited by non_burglar@lemmy.world
                  #11

                  Omg, get over it. You haven't discovered the holy grail of automation or we'd all be using it. yaml is the devil I know. Sue me.

                  I've been through these orchestration tools (not very much at MCL I'll admit) and in the end there is always something that's a pain in the ass.

                  Chef's integration with vault sucks and recipes can become role hell.
                  Puppet needs agents and the initial setup is awful.
                  Ansible doesn't do well where ssh can't go, and it touches stuff when it makes changes, which isn't fun for the guy reviewing FIM.
                  I'm sure MCL has some quirk that makes working with it nasty.

                  We've gone down the route of using ipam as an intermediary to collect basic configs and act as a repo for orchestration, and let me tell you, APIs aren't the silver bullet. Updates to DNS records aren't exactly fun when they don't work because a client's stack is a snowflake combo of pinned packages.

                  So forgive me if I remain skeptical that yet another orchestration platform has "solved" it the way you're describing.

                  I've been hearing this for 30 years and heard the promise from a few players like Altiris, canonical (landscape), and many devs with bespoke scripts.

                  They all suck in some unique way.

                  1 Reply Last reply
                  0
                  • nagaram@startrek.websiteN nagaram@startrek.website

                    So I have rebuilt my Production rack with very little in terms of an actual software plan.

                    I host mostly docker contained services (Forgejo, Ghost Blog, OpenWebUI, Outline) and I was previously hosting each one in their own Ubuntu Server VM on Proxmox thus defeating the purpose.

                    So I was going to run a VM on each of these Thinkcentres that worked as a Kubernetes Cluster and then ran everything on that. But that also feels silly since these PCs are already Clustered through Proxmox 9.

                    I was thinking about using LXC but part of the point of the Kubernetes cluster was to learn a new skill that might be useful in my career and I don't know how this will work with Cloudflared Tunnels which is my preferred means of exposing services to the internet.

                    I'm willing to take a class or follow a whole bunch of "how-to" videos, but I'm a little frazzled on my options. Any suggestions are welcome.

                    R This user is from outside of this forum
                    R This user is from outside of this forum
                    rumba@lemmy.zip
                    wrote last edited by
                    #12

                    That's a sick little rack.

                    Absolutely follow through with K8S, I recently did this and it's definitely worth it.

                    Running the workers in VMs is a little wasteful. But it's simplifies your hardware and your backups. My home lab version is 3 VMs in a Proxmox, The idea is, after it's built and working I can just move those VMs wholesale to other boxes. But realistically, adding workers to K8S is pretty brain dead simple, and draining and migrating the old worker nodes another skill you should be learning.

                    You could throw Debian on everything and deploy all your software through Ansible.

                    Don't lose sight of the goal. Get k8s running, push through longhorn, get some pods up in full tolerant mode, learn the networking, The engress the DNS, load balancing, proxies.

                    Exactly how you do it is less important than the act of doing it and learning kubectl.

                    1 Reply Last reply
                    4
                    • T tofu@lemmy.nocturnal.garden

                      What's the white device in top/what are your using it for?

                      L This user is from outside of this forum
                      L This user is from outside of this forum
                      lawnman23@lemmy.world
                      wrote last edited by
                      #13

                      https://www.surfboard.com/products/cable-modems/sb6190/

                      1 Reply Last reply
                      1
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      Powered by NodeBB Contributors
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Popular
                      • World
                      • Users
                      • Feed