93
VMs or containers? (lemmy.world)
submitted 1 year ago by rpn@lemmy.world to c/selfhosted@lemmy.world

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.

you are viewing a single comment's thread
view the rest of the comments
[-] csm10495@sh.itjust.works 22 points 1 year ago

Unless you have multiple systems, I don't think k8s will yield much benefit over plain docker.

[-] ArmoredGoat@feddit.de 5 points 1 year ago

So, if I plan to build a pi cluster I should get familiar with k8s?

[-] csm10495@sh.itjust.works 11 points 1 year ago

The basics can be useful there. The whole idea with k8s is to be able to run applications across multiple hosts in a given fleet. Your cluster can be that fleet! :)

[-] tiwenty@lemmy.world 10 points 1 year ago

Also k8s is in high demand in the sector, so those are good skills that could be turned into $$

[-] kiddblur@lemm.ee 3 points 1 year ago

I get why too. I’m a full stack (including devops) software engineer, and docker/k8s is just completely opaque to me. I’m not sure why, but I really just can’t wrap my head around it. Thankfully my current company has a devops team that takes care of it, but jeez

[-] tiwenty@lemmy.world 2 points 1 year ago

Tbh those stuff aren't really intuitive. But, as was my case for instance, that's something that can be "easily" learnt as a hobbyist like us. And when you understand those concepts, at least from an abstract point, my stance is that you can become a better dev/ops/sys :) I strongly advice anyone in the field to at least play a little with Docker/containers to grasp what it is.

[-] dustojnikhummer@lemmy.world 1 points 1 year ago

I can't even get my head around Traefik, let alone Kubernetes (and k3 vs k8????)

load more comments (2 replies)
load more comments (4 replies)
load more comments (5 replies)
this post was submitted on 04 Jul 2023
93 points (97.9% liked)

Selfhosted

40246 readers
460 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS