k0s vs k3s - Which is best for home lab?

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 พ.ย. 2024

ความคิดเห็น • 33

  • @LampJustin
    @LampJustin ปีที่แล้ว +48

    Thanks, but I think you missed the most important features of either distri. On k0s you have a nice yaml definition with a lot of options like running kube-router instead of flannel etc. But not only that, you have the option to run the master as a hidden node that won't be seen by the cluster and the nodes connect to it via a proxy. This enables running it in very constrained environments and in LXC containers as it doesn't host any kind of containers. K3s on the other hand has a very optionated install with welcoming features like clipper lb or a slim host path provisioner. The features also have to be disabled explicitly on each node. That's what's imho the interesting/important part. The installation itself should not be taken in account as they're both very easy and pretty similar.

    • @AsifSaifuddinAuvipy
      @AsifSaifuddinAuvipy 9 หลายเดือนก่อน +2

      exactly

    • @NotADevOps
      @NotADevOps หลายเดือนก่อน

      What you're taking abt , I can understand and cant understand at the same time

  • @psvpl
    @psvpl ปีที่แล้ว +14

    So which is the best?

  • @Sivarion
    @Sivarion ปีที่แล้ว +18

    I missed something or you just didn't answer your question? Which one is better for home use? What are the differences between them? Or just the name is biggest difference?

    • @junit1606
      @junit1606 6 หลายเดือนก่อน +2

      Avoid both for home use

    • @Sivarion
      @Sivarion 6 หลายเดือนก่อน +1

      @@junit1606 thanks! Do you mind expaining why and what do you suggest as alternative?

    • @junit1606
      @junit1606 6 หลายเดือนก่อน +8

      @@Sivarion kuberentes is a massive overkill for smaller projects. You will end up having to maintain massive yaml files, which will not provide any value to you. Furthermore kubernetes is a massive resource hog, the resources needed for your applications will be multiplied just to be on par with what you currently have.

    • @Sivarion
      @Sivarion 6 หลายเดือนก่อน +1

      @@junit1606 oh, yes, in that case - you are 100% right. There is no point in using kubernetes for personal project other than to learn kubernetes along the way - this is why I do it.

    • @karpulix
      @karpulix หลายเดือนก่อน

      ​@@junit1606 Yes, but don't you think k3s has a relatively low overhead? It's even used in IoT projects due to its lightweight nature.

  • @WalterFabian
    @WalterFabian ปีที่แล้ว +1

    Excellent: Best HS deployment tutorial I ever watched!

  • @b00m3rh4nd_sol
    @b00m3rh4nd_sol ปีที่แล้ว +3

    Which uses less CPU and disk IO? k3s uses about 1CPU for the control plane... curious to see how k0s fairs...

  • @chrisumali9841
    @chrisumali9841 ปีที่แล้ว +1

    Thanks for the demo and info, have a great day

  • @severgun
    @severgun 10 หลายเดือนก่อน +6

    So where is answer?

  • @bdanuw
    @bdanuw ปีที่แล้ว +2

    Very interesting - could you mix and match? Any advantage in having k8s controller and k3s workers for example please?

  • @fin31337
    @fin31337 10 หลายเดือนก่อน +1

    Could you please provide some insights why did you use sudo to install K0s and root to install k3s?
    Should it been run only with privileges?

    • @VirtualizationHowto
      @VirtualizationHowto  10 หลายเดือนก่อน +1

      @fin31337, either should work, sometimes I have so many VMs in the lab with different logins configured. I should have standardized to show both using sudo.

    • @VirtualizationHowto
      @VirtualizationHowto  10 หลายเดือนก่อน

      @fin31337, if you have further questions, be sure to sign up on the VHT forums here: www.virtualizationhowto.com/community

  • @ronm6585
    @ronm6585 ปีที่แล้ว

    Thanks B.L.

  • @squalazzo
    @squalazzo ปีที่แล้ว +1

    why not k3d (which uses k3s underneath)? very easy to use, with integrated traefik to expoxe services, if needed, and localpath as csi driver

    • @VirtualizationHowto
      @VirtualizationHowto  ปีที่แล้ว +3

      @squalazzo, thank you for your comment! I really like k3d and have used it / written about it before: www.virtualizationhowto.com/2022/04/install-k3s-on-ubuntu-with-k3d-in-docker/. For this though, I wanted to compare vanilla k0s and k3s running them in the same way. Hope this helps!

    • @squalazzo
      @squalazzo ปีที่แล้ว

      @@VirtualizationHowto thanks, i'll take a look :)

    • @hotrodhunk7389
      @hotrodhunk7389 ปีที่แล้ว +1

      I use ansible k3s. One click and setup a ha cluster on as many nodes as you want. It's very nice 👍

    • @squalazzo
      @squalazzo ปีที่แล้ว

      @@hotrodhunk7389 same does k3d and no ansible needed

    • @hotrodhunk7389
      @hotrodhunk7389 ปีที่แล้ว +2

      @@squalazzo yeah but I use ansible for everything. Even if it's not needed. I just love seeing it work away as I drink my coffee ☕. But the best part is how it can be cleaned up so easily.

  • @michaelbilalis8962
    @michaelbilalis8962 ปีที่แล้ว

    Have you already consider OKD as a next candidate for your lab ? This is open source version of OpenShift

    • @LampJustin
      @LampJustin ปีที่แล้ว +1

      Okd is pretty cool and has some amazing features, but it needs a ton of Ram 😂

  • @xiaofu7883
    @xiaofu7883 ปีที่แล้ว +1

    what is k0s?

  • @bluesquadron593
    @bluesquadron593 ปีที่แล้ว +2

    Into music is way too loud

    • @MartinPHellwig
      @MartinPHellwig ปีที่แล้ว +1

      The word "into" doesn't have enough "r"''s 😊

    • @bluesquadron593
      @bluesquadron593 ปีที่แล้ว +2

      @@MartinPHellwig well …

    • @testbox3201
      @testbox3201 4 หลายเดือนก่อน

      I hate background music while someone is speaking. Don't get it at all. Even worse it's too loud.