I’m thinking about starting a self hosting setup, and my first thought was to install k8s (k3s probably) and containerise everything.

But I see most people on here seem to recommend virtualizing everything with proxmox.

What are the benefits of using VMs/proxmox over containers/k8s?

Or really I’m more interested in the reverse, are there reasons not to just run everything with k8s as the base layer? Since it’s more relevant to my actual job, I’d lean towards ramping up on k8s unless there’s a compelling reason not to.

  • adonis@kbin.social
    link
    fedilink
    arrow-up
    5
    ·
    1 year ago

    I use proxmox for the sole benefit of just spinning up a VM of choice without having to deal with usb-sticks, etc.

    From there I just run everything with Docker containers, via Portainer.

    • tony@l.bxy.sh
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      This is exactly what I do for my personal servers (except with ESXi instead of proxmox).

      You will probably want both VMs and containers, there are some things that are not well supported in containers (e.g. gitlab).

      I run a couple k8s clusters for work and the complexity is beyond what most people starting out would want, I would imagine.

      Unless you need something that has a helm chart but not docker support (e.g. gitlab) or you are really keen on learning, it can be quite a jump…

      (For gitlab I still would recommend a VM with the omnibus installer over k8s unless you are big enough to have a separate team managing your k8s clusters. It would suck to have a PV issue and lose all your data.)