Docker vs Kubernetes, what's better in a Homelab?

  Рет қаралды 91,656

Christian Lempa

Christian Lempa

Күн бұрын

Пікірлер: 183
@cantthinkofabettername7016
@cantthinkofabettername7016 Жыл бұрын
Docker is the way way way easier, manageable and overall better solution for a homelab. This is why i run kubernetes in mine.
@durgeshkshirsagar5160
@durgeshkshirsagar5160 2 ай бұрын
Highly laughable 😄😄
@0xN1nja
@0xN1nja Ай бұрын
Had us in the first half ngl
@syrus3k
@syrus3k 24 күн бұрын
Well, what's the point of a homelab? To learn right.
@kingcobraDE
@kingcobraDE Жыл бұрын
Team K8S - not because I need it, but wanted to learn it. Now it became my first choice when deploying containers.
@christianlempa
@christianlempa Жыл бұрын
Glad to have you in the team! :D
@apolloeosphoros4345
@apolloeosphoros4345 Жыл бұрын
Same here. I stared into the Kube madness and it stared back into me... now I'm hooked on how easy it makes certain things.
@majorgear1021
@majorgear1021 5 ай бұрын
is it better than k3s? I found k3s to be a nightmare to keep running. container would be stuck in “starting” and Longhorn storage “volumes” would be degraded, also for no apparent reason. I threw my hands up and went back to docker compose and gitops for running apps.
@sergeygr
@sergeygr Жыл бұрын
Personally I still use Docker in Swarm mode with multiple master and worker nodes (total of 6 nodes). With Traefik as LB and Portainer for management. Also a HAProxy in front of it. Also I use a K3s cluster, created with Techno Tim's ansible playbook. For a learning purpose. As for now, I dont see a need to switch to the Kubernetes as Swarm does everything I need.
@kareemschultz
@kareemschultz Жыл бұрын
Can you provide some information on how you did this I was really hard today to get this done with nginx proxy manager and Keepalived
@B20C0
@B20C0 Жыл бұрын
Another pro for k8s in a Homelab: You learn it. It's great that Christian made this point: If k8s is something you may come into contact with in your professional career, use it in your homelab.
@hansaya
@hansaya Жыл бұрын
I bang my head against a wall for months over k3s but after I figure out the basics it was the most rewarding platform I ever used. I got everything automated to point I can start up my home services in minutes even if the house burns down. K3S makes managing my home services lot easier and makes it super easy to play with new projects
@christianlempa
@christianlempa Жыл бұрын
Haha similar experience like me :D
@lewismalcolm3536
@lewismalcolm3536 Жыл бұрын
Wonderfully done video Christian. I've been reading up on Kubernetes in the last month or so and had thought that I'd port all of my applications to a kubernetes cluster some time this year, but after doing more research I started to realize just how deep the Kubernetes rabbit hole goes and started setting up things on Portainer instead about a week ago. I remember seeing a video from another creator targeted at new home-labers that said "If you think you need Kubernetes you don't" that felt very condescending since it didn't explain why that was the case, thus I ended up researching it more. If I had seen your video back then instead, I'm sure I would have picked up Portainer instead and it would have saved me a lot of trouble - I'll be sure to mention your video if these conversations come up. Thanks!
@christianlempa
@christianlempa Жыл бұрын
Thank you so much! :)
@javiersp
@javiersp Жыл бұрын
Same wagon here. I have tried k8s on a proof of concept production environment on the cloud and after much struggle and headache I am setting all up on a swarm. I have no doubt that k8s offers more advanced clustering capabilities but if you properly set up your nodes on different availability and fault domains, you actually don’t need anything more than a swarm if you are going to run just a couple dozens of containers. K8s seriously needs an easy, small clustered version if they intend to target small and medium sized business.
@Droiduxx
@Droiduxx Ай бұрын
What about docker swarm mode ? People ignore this most of the time in the homelabbing community, but to me it seems much more relevant in a homelabbing context...
@christianlempa
@christianlempa 29 күн бұрын
Good point, honestly this is something I should have done from the beginning, :D but I will take some time next year to learn it and then I will probably add it to my stack.
@DavidChad
@DavidChad 2 ай бұрын
Thanks! Super helpful content!
@christianlempa
@christianlempa 2 ай бұрын
Thank you so much for the support! I'm glad it was helpful :)
@kareemschultz
@kareemschultz Жыл бұрын
I would like to see a video on docker swarm with shared storage such as glusterfs for high availability for docker containers
@christianlempa
@christianlempa Жыл бұрын
Hmm I still haven't found the time to look into swarm :(
@itssoaztek4592
@itssoaztek4592 Жыл бұрын
Great summary, very useful for people like me who have not yet worked with docker or kubernetes. Much appreciated!
@christianlempa
@christianlempa Жыл бұрын
Glad it was helpful! :)
@dandogamer
@dandogamer Жыл бұрын
Nomad might be a reasonable alternative to k8s, its architecture is a lot simpler and it works great with the consul service mesh
@MrWadezz
@MrWadezz Жыл бұрын
nomad is indeed a lot simpler than kube, and for 95% of homelabs (and organizations), it does everything you could possibly want. It is also imo way more flexible since the integration with consul and/or vault is optional, and can be done later if you're just getting started ! Glad to see a fellow nomad user in the comments !
@christianlempa
@christianlempa Жыл бұрын
Still didn't have time to look at nomad :(
@MrWadezz
@MrWadezz Жыл бұрын
@@christianlempa it's pretty cool ! especially once you couple it with consul and vault for the service mesh and secret management features :)
@andrebalsa203
@andrebalsa203 Жыл бұрын
In one word: both ! Very good question and nice discussion, thank you.
@kektozaur
@kektozaur Жыл бұрын
I tried k8s a couple of years ago, but there weren't many charts available for the stuff I was running and having to make them from scratch is tedious. Docker compose saved me from alot of headaches.
@yifeiren8004
@yifeiren8004 Жыл бұрын
Kompose can automatically translate docker compose file, except volumes.
@EllisWhitehead
@EllisWhitehead Жыл бұрын
I kind of despise kubernetes because its too complex and unintuitive to manage on the side. I used it for two years for both home and work clusters, but after my initial enthusiasm, I concluded that the struggle wasn't worth it. I decided to switch to Docker Swarm (with glusterfs shared drives) two years ago, and I've been much happier with the simplicity of it all.
@procheeseburger_2
@procheeseburger_2 Жыл бұрын
Docker is easy.. K8s is amazing. Like I CAN do it in docker.. but if I spend the time in K8s it can be much easier. You also bring up a good point around 8:00 when something breaks it can be almost impossible to correct it and the whole cluster is dorked.
@dandogamer
@dandogamer Жыл бұрын
Yeah sometimes you can fuck up the cluster real good, but if you have a good fundamental understanding of the components that make up the cluster and how they interact with each other along with a basic level of linux / networking you can debug it pretty good
@arimil.
@arimil. Жыл бұрын
I've ran into this after migrating my old server to TrueNAS which pushes you towards Kubernetes, many things that I felt were easy to setup with Docker became much more complicated. TrueCharts has been really helpful with this though. I do believe that Kubernetes is overkill for my use case, since I don't see me ever needing more than 1 replica for anything.
@alvsanand
@alvsanand 4 ай бұрын
Great video. Here one guy running everything in k3s. As Cristian said, It is 100% worthy my time spent making it just working!
@christianlempa
@christianlempa 4 ай бұрын
Awesome 👏
@Ecker00
@Ecker00 Жыл бұрын
Went with Docker Swarm for latest setup, get most the benefits without too much complexity. 👍
@christianlempa
@christianlempa Жыл бұрын
Also a nice alternative!
@blackpaw29
@blackpaw29 Жыл бұрын
I spent days trying to get a k8s cluster running, got there eventually, but never did manage to get it to recognise my ceph cluster for storage. Eventually got up and running with Nomad, wouldn't say it was simple, but it made a lot more sense than Kubernetes, a lot less fragile moving parts and well documented. Has been running my DB's and web apps for weeks now, without a hiccup. Using Fabio for load balancing.
@mrb180
@mrb180 Жыл бұрын
they're not mutually exclusive, I think they both have their place, Docker for running containers and Kubernetes for orchestrating them. But AFAIK Docker Swarm can take the place of Kubernetes in a small environment, like a homelab, providing similar functions.
@sgt_mate
@sgt_mate Жыл бұрын
yes, thats how its somewhat supposed to be done. kubernetes as an orchestrator does not run the container itself. under it there is the container runtime, which does that. comparing swarm mode and kubernetes is far more interesting, as both tools have a similar goal but are made for different usergroups.
@IAmNumber4000
@IAmNumber4000 Жыл бұрын
Using managed kubernetes (DigitalOcean) was very cool and actually simplified some things from my previous docker-compose setup, but for a homelab, there is no way I would want to deal with setting up a cluster from scratch in a homelab tbh. Docker-compose is more than enough for me. This would probably be different if I had a server rack with multiple computers in it. But I don't. I have like 1 NAS and 1 server.
@mickolesmana5899
@mickolesmana5899 3 ай бұрын
i will give my 2cents here, there are 2(3 to be fair) type of homelabs. 1. Media type 2. Calculation type 3ish. Learning type. Most of us will fall into category 3, learning homelab for the sake of learning, but when it come to actual usage, most of the hobbyist will fall into type 1, media server, home automation, or maybe web serve. Where HA and distribution architecture maybe good but not a priority. Hell even an overkill in my opinion. And the second type, where i fall into this category, Using homelab to train AI on Torch, deploy spark job, and data analytic. Where distributed system is a first class in a most of out of shelf products (Kubeflow, YARN, MESOS, Horovod), and i mean why won't you not parallelize your calculation. K8S spin up , manage, and spin down my spark and horovod very nicely. People are shocked when i told i only has 8 core Ryzen and k8s-ing my system. I am not using K8S as a HA but instead as a distribute compute unit
@mr_wormhole
@mr_wormhole Жыл бұрын
I have suffered 2 years in k8s, kind, minikube, microk8s, I have learnt nothing until I started self-hosting my k3s non-HA setup on a small cloud provider with k3sup It is hard but noone said it is going to be harder than learning locked-in provider like AWS/GCP/Azure, it is also even debatable how much people don't know about systemd and container internals when people start learning docker, learn the core not the tools, kubernetes gives you all the aspects when you know the core, freedom is a hard road but enjoyable once you learn fundamentals / basics + charts + operators, you will be unstoppable
@dandogamer
@dandogamer Жыл бұрын
yeah exactly this! Learn basic linux, networking, containers, processes, ssh etc. K8s and docker are simply abstractions on this that make it possible
@keithwolfe1090
@keithwolfe1090 Жыл бұрын
Docker for my infrastructure services, 5-node Microk8s cluster for projects, and a single-node OpenShift cluster (work-related). I can do just about anything with this setup :)
@piperjohn_3
@piperjohn_3 Жыл бұрын
You are so good at this, thanks.
@christianlempa
@christianlempa Жыл бұрын
Thanks ;)
@sgt_mate
@sgt_mate Жыл бұрын
Interesting video, currently working on a comparison of swarm mode and kubernetes. But im doing it for buisness usecases only (we are using kubernetes in production, where i work). Also maybe check out swarm mode, it is a far easier orchestrator, integrated in docker hosts, combinded with compose its a pretty good alternitive for smaller deployments. Sory for my english, as Im a german native speaker.
@mrwalter1049
@mrwalter1049 Жыл бұрын
Your English is fine. No need to apologize. BR from fellow English as second language user from Finland
@jbauson1
@jbauson1 Ай бұрын
It should be Docker Swarm vs Kubernetes
@arshamalh
@arshamalh 8 ай бұрын
What do you think about Nomad? It would be great if you make a video about it and tell us your opinions ✌🏼
@christianlempa
@christianlempa 8 ай бұрын
Haven't tried it yet
@robynrox
@robynrox 5 ай бұрын
Okay... so I think for me it has to be k8s. I don't need the power at home, but I am a software engineer, and developing that knowledge would help up my game. Thanks!
@Glitch_860
@Glitch_860 Жыл бұрын
How does Kubernetes compare to Docker Swarm? I currently run a Docker Swarm with multiple separate nodes, running portainer to use for easy management.
@christianlempa
@christianlempa Жыл бұрын
No idea, haven't tried out Swarm, yet.
@Glitch_860
@Glitch_860 Жыл бұрын
@@christianlempa When you do. Would be a cool topic for a video ;-) In the mean time setup of a kubernetes cluster is in my future.
@christianlempa
@christianlempa Жыл бұрын
@@Glitch_860 Yeah agreed, but that's not happening in this year I suppose :(
@dmckrk
@dmckrk Жыл бұрын
Good comparison, but once you get into k8s you will never look back. Managing etcd, backups, storage and whole resilience is some difficulty but still best way. Also there are many great tools that allows to manage and debug cluster. Its not that bad :)
@christianlempa
@christianlempa Жыл бұрын
Thank you! :)
@tba77
@tba77 Жыл бұрын
I just started using talos to spin kubernetes clusters and I would say that it's really a great solution it's secured ready for production high available and with the minimum needs for kubernetes so no shell no ssh connection everything is managed through api which makes it simpler to maintain. And like k3s and other tools you can spin a cluster in 5mn it can be the subject of a new video :) it's worth to try
@christianlempa
@christianlempa Жыл бұрын
I recently made one about k3s, maybe that's already helping you :)
@tba77
@tba77 Жыл бұрын
@@christianlempa Yes I saw your video about k3s and it's interesting but for production, I think talos is more practical and useful as it's designed to be simple to deploy secured and works with almost everything.
@StephenCunningham1
@StephenCunningham1 Жыл бұрын
1 docker compose yaml with 700 lines runs my lab. When I had kube gitops set up they were constantly making changes to stuff and helm charts that would break everything, plus storage was a bear.
@TantissTheEmperor
@TantissTheEmperor Жыл бұрын
I use OKD, which is also pain in the ass to install, config and work with, but it's more for learning and mastering purposes than real needs. It allowed me to apply to new jobs and make this my everyday work so even if it's not something 'wise' to use in a little homelab, it could be interesting for professional skills to learn and master it at home. Now if you don't plan to work professionally with it, don't waste your time and hairs, docker swarm or docker is enough.
@Bathi666
@Bathi666 Жыл бұрын
Excellent video as always mate . Cheers
@christianlempa
@christianlempa Жыл бұрын
Thank you so much! :)
@theangelofspace155
@theangelofspace155 Жыл бұрын
You can run docker in multiple servers and yiu can use traefik in docker. And there is docker swarm as well for passwords (secrets) or not?
@christianlempa
@christianlempa Жыл бұрын
I'm not sure about swarm tbh, that's still on my backlog to learn
@febriansasi
@febriansasi Жыл бұрын
After watching your videos, I install portainer and dockerize my homeserver. I use old notebook so I only activate container that I need using androtainer
@christianlempa
@christianlempa Жыл бұрын
Nice!
@febriansasi
@febriansasi Жыл бұрын
@@christianlempa did you have tutorial how to migrate my existing portainer and container if someday I want to upgrade my homeserver?
@jonisapp
@jonisapp Жыл бұрын
No mention of Docker Swarm, why... I think it's a perfect fit for a homelab.
@spaceboy978
@spaceboy978 Жыл бұрын
in dont need k8s because i only have 1 server at home.
@seethruhead7119
@seethruhead7119 Жыл бұрын
maybe docker in a VM in a proxmox cluster would make more sense with ceph or nfs storage if you need to take down a node then you can migrate the entire docker vm to a different server.
@maxnatamo
@maxnatamo Жыл бұрын
There seems to be some noise in the video, when viewing in 4K. It's really bad at 2:59, for example.
@christianlempa
@christianlempa Жыл бұрын
Hm can't hear it, maybe that's part of the music?
@maxnatamo
@maxnatamo Жыл бұрын
@@christianlempa I meant some visual noise on the diagram. My fault
@christianlempa
@christianlempa Жыл бұрын
@@maxnatamo aaah okay, thanks for letting me know. Yeah sometimes that happens when the resolution isn’t good because I zoomed in too much. I’m sry :(
@maxnatamo
@maxnatamo Жыл бұрын
@@christianlempa You make up for it with great videos, editing and diagrams. Don't worry, it's a nitpick if anything
@christianlempa
@christianlempa Жыл бұрын
@@maxnatamo no worries, I'm happy when you report it to me :D I always try to improve the quality. Thank's again!
@AD-qs9sb
@AD-qs9sb Жыл бұрын
Ive been using docker swarm and it works well. It allows replicas and some HA features and can also be managed with portainer. I tried k3s a couple of years ago and after fighting with it for a couple weeks finally realized its never going to work well in a home lab. Its designed for cloud providers that handle all the external stuff (networking, storage, LB) for you in their own proprietary way. There are solutions that kind of make it qork in a home lab but it's a constant struggle.
@charlesduncan9250
@charlesduncan9250 Жыл бұрын
Great video!! What about lxc containers in proxmox vs docker??
@LampJustin
@LampJustin Жыл бұрын
Docker in LXC containers on Proxmox is what you want ;)
@christianlempa
@christianlempa Жыл бұрын
Haven't used them yet so I can't really say much here :/
@MichaelSmith-fg8xh
@MichaelSmith-fg8xh 7 ай бұрын
LXC/Proxmox gives containersation with much less human overhead.. also with Proxmox it's great to have the fallback of being able to do VMs on the same server. I'd be nervous using it at work though.
@th3r3v92
@th3r3v92 Жыл бұрын
I'm using k8s during work, but I don't think there is any reason to use it at home. For homelab, swarm is much better IMHO. Yeah, ppl always talk about "swarm is dead", but actually, it is soooo much better in a small environment... Just init a swarm, join a worker or two additional managers, and use network-ed volumes. Also, you can use the same compose files as in "normal" mode, you can use portainer to manage the swarm and you have overlay networks. For a homelab, IMHO, it is the best, because it is almost the same as plain old simple docker.
@frankniethardt1813
@frankniethardt1813 9 ай бұрын
Would you recommend getting started with Kubernetes using TrueNAS SCALE or with separate VMs?
@christianlempa
@christianlempa 9 ай бұрын
If you want to learn Kubernetes you have to use a different system than TrueNAS Scale, as it hides all the important stuff behind graphical menus and abstraction
@dl2085
@dl2085 Жыл бұрын
Why do you use k3s instead of k8s? With kubeadm the installation of k8s ist pretty simple and I've read that the performance of both is pretty similar.
@christianlempa
@christianlempa Жыл бұрын
K3s just seems easier to me
@stanislavtrifan96
@stanislavtrifan96 Жыл бұрын
Kubernetes is awesome tool for production. However for something like homelab podman desktop, nomad from hashicorp or portainer may make more sense
@christianlempa
@christianlempa Жыл бұрын
great alternatives as well, but I think if you're using your homelab for learning, you can't get around using what's used in companies production systems.
@MrTmorton77
@MrTmorton77 Жыл бұрын
​@@christianlempa There is a much larger community behind k8s vs other solutions because so many commercial companies use k8s in production. This also means there are more options for a given solution and it will typically have better long term support. Not to mention the recent statements that were later retracted by the folks at Docker. Not hating on Docker but they realized they lost the container battle and now are scrambling to find relevance and a revenue model.
@therealslimaddy
@therealslimaddy Жыл бұрын
Debian Vm plus docker is the one for me.
@Stuffynes
@Stuffynes Жыл бұрын
I use truenas scale for running all my containers. It’s much easier than setting k3s on my own and so far has been reliable.
@christianlempa
@christianlempa Жыл бұрын
That's a good alternative as well!
@rebelavie7772
@rebelavie7772 Жыл бұрын
Hey.. Christian... Do you have some experience using jsonnet? ( data templating language) in kubernetes... If yes Can do a video about it..? I heard it could be a good alternativ to kustomize or helm
@Trains-With-Shane
@Trains-With-Shane Жыл бұрын
For me Docker, even without Swarm, is more than sufficient for my home lab services. I may eventually work up a Swarm or switch to K3s but for me the juice isn't worth the squeeze other than for learning experience which I have spun up K3s deployments for in the past on my home lab. But again those were just for labs and not "production" workloads.
@Sincer1te
@Sincer1te Жыл бұрын
1:28 What's this?
@Jimmy_Jones
@Jimmy_Jones Жыл бұрын
ArgoCD. He mentions it later on.
@Sincer1te
@Sincer1te Жыл бұрын
@@Jimmy_Jones Thanks. Missed that
@PaulMetalhero
@PaulMetalhero Жыл бұрын
Can Portainer work with podman instead of docker?
@Clarence-Homelab
@Clarence-Homelab Жыл бұрын
not sure about that have a look at "yacht" for podman container management if you don't mind trying something new
@christianlempa
@christianlempa Жыл бұрын
I'm not sure, I don't think so because it connects to the docker engine.
@closerlookcrime
@closerlookcrime Жыл бұрын
Ahh the old Matrix screen saver. Thanks for the video.
@christianlempa
@christianlempa Жыл бұрын
You're welcome!
@AlexanderGarzon
@AlexanderGarzon Жыл бұрын
Being using k8s since last year, and I regret the headaches, Like I read in a meme, I don't remember where 😂: - Do we need kubernetes for this project? - No. - But... - No I was able to replicate the same "features" the client wanted by using only docker swarm and traefik. He is happy, I'm happier.
@christianlempa
@christianlempa Жыл бұрын
When you're happy, that's the most important thing! :D
@streambarhoum4464
@streambarhoum4464 Жыл бұрын
Hey Christian Could you please deploy some home server apps with the kubernettes approch in a commig video ? As you wish for the appropriate solution Kube-compose, k3s etc....?
@christianlempa
@christianlempa Жыл бұрын
Good suggestions, I'll do a few other topics first, but in the second half of this year I might do more project focused videos about Kubernetes Deployments!
@sgt_mate
@sgt_mate Жыл бұрын
And as for if kubernetes will be the standard in the future. It is now the standard! If you look up statistics, most container orchestration is done with Kuberenetes or a product build on it.
@michealchoudhary9861
@michealchoudhary9861 Жыл бұрын
I love Kubernetes and find it complex , even tho i am CKA and CKAD certified.
@christianlempa
@christianlempa Жыл бұрын
Oh yeah it is complex :/
@adammontgomery7980
@adammontgomery7980 7 ай бұрын
Don't get me wrong, this is cool. But, what are you guys doing at home that you need a cluster running container orchestration software?
@christianlempa
@christianlempa 7 ай бұрын
Just for fun and learning! :)
@tehmessiah5617
@tehmessiah5617 Жыл бұрын
Docker Swarm works across multiple servers doesn't it?
@steverhysjenks
@steverhysjenks Жыл бұрын
The bit I'm struggling is how to migrate to k3s....... how do it translate my docker compose scripts into K3s - its really put me off kubenetes
@travisschneider3011
@travisschneider3011 Жыл бұрын
Why not migrate to Docker Swarm? Easier migration, you also get a bunch of the benefits of Kurbernetes.
@christianlempa
@christianlempa Жыл бұрын
You might have to rewrite a lot manually with learning the kubernetes specific processes, I know it can be challenging, but it's better for learning and understanding kubernetes, because many things are handled a lot different from docker.
@kanarie93
@kanarie93 Жыл бұрын
traefik work on dockerstacks too so thats not k3s specific...
@dougmoore5823
@dougmoore5823 Жыл бұрын
and what is that background/desktop on your mac to your right?
@christianlempa
@christianlempa Жыл бұрын
What do you mean?
@StevePrior
@StevePrior Жыл бұрын
I'm looking for an online community/forum to ask questions and share information on k3s in a home lab but haven't found a good one yet. Can anyone suggest some? I'm not looking for paid tutorials or communities.
@christianlempa
@christianlempa Жыл бұрын
Join our Discord :)
@StevePrior
@StevePrior Жыл бұрын
@@christianlempa Can't join your Discord - I only use my Google Voice number, not even my work has my device cell# and your Discord won't accept that.
@StevePrior
@StevePrior Жыл бұрын
Do you have an alternate way to verify me so I can join?
@ronm6585
@ronm6585 Жыл бұрын
Thanks Christian.
@christianlempa
@christianlempa Жыл бұрын
You're welcome :)
@cristianku75
@cristianku75 2 ай бұрын
and what about Proxmox ?
@christianlempa
@christianlempa 2 ай бұрын
That is in my opinion a different thing, I use them all btw :D
@takehaver
@takehaver Жыл бұрын
“The conversation around Kubernetes vs. Docker is often framed as either-or: should I use Kubernetes or Docker? This is like comparing apples to apple pie, and it’s a common misconception that you must choose one or the other. The difference between Kubernetes and Docker is more easily understood when framed as a “both-and” question. The fact is, you don’t have to choose-Kubernetes and Docker are fundamentally different technologies that work well together for building, delivering, and scaling containerized apps.”
@christianlempa
@christianlempa Жыл бұрын
So, you agree with what I said in the video? :D
@takehaver
@takehaver Жыл бұрын
@@christianlempa Great video and love your content in general, but I don’t agree with “vs” in the title :). Usually kubernetes is something you use for or with docker containers. Thank you for all hard work you put in your labs and presentations!
@christianlempa
@christianlempa Жыл бұрын
@@takehaver you sometimes need to do a little clickbait and keep the titles SEO friendly xD but yeah technically you’re right
@CodyakaLamer
@CodyakaLamer Жыл бұрын
Thanks Christian for the informal video. Keep up with the good work I like listening these videos while I'm at work
@christianlempa
@christianlempa Жыл бұрын
Thank you! :) Glad you like it
@Janemayank
@Janemayank Жыл бұрын
this solved my long pending doubt ✌
@christianlempa
@christianlempa Жыл бұрын
Glad it helped :)
@g.s.3389
@g.s.3389 Жыл бұрын
why didn't you use Rancher?
@LampJustin
@LampJustin Жыл бұрын
Because Rancher has tons of problems and completely digs into your cluster. It's not worth it imho. If you're uncomfortable using lens, k9s or the Kubernetes dashboard, you should rather the using docker. I don't mean it rudely at all, but there's so much inherent complexity with Kubernetes that needs to be understood in order to run it properly.
@g.s.3389
@g.s.3389 Жыл бұрын
@@LampJustin thx
@weluvmusicz
@weluvmusicz Жыл бұрын
Use Docker Swarm with Portainer.
@majorgear1021
@majorgear1021 5 ай бұрын
I found Kubernetes k3s to be fragile and it broke for no apparent reason at random time. I would delete and reinstall nodes so often that I knew the commands by heart ! Also , Cluster storage would become degraded for no apparent reason and I would tear my hair out trying to fix it. I have found gitops , which is managing my containers with git and github actions, to be a happy compromise. I store configuration and secrets in github, and github actions deploy and update my containers.
@vzetanet
@vzetanet Жыл бұрын
do you use kubernetes? why not try rancher?
@alevsk
@alevsk Жыл бұрын
Rancher is a UI for kubernetes
@christianlempa
@christianlempa Жыл бұрын
^- this here!
@vzetanet
@vzetanet Жыл бұрын
@@alevsk I could also be wrong, but they write on the site that it manages multiple Kubertenes clusters providing security, their orchestration through any infrastructure, it seems to me much more than a simple UI for Kubertenes.
@zeal514
@zeal514 Жыл бұрын
your discord link is dead fyi. tried on multiple videos from 2 years ago to this 1. no bueno.
@christianlempa
@christianlempa Жыл бұрын
just checked it, works on my machine _-oO-_
@AD-nm7ne
@AD-nm7ne 10 ай бұрын
On-premise K8s is honestly overly complicated. It’s easier to just use Docker or podman Of course, it's okay if you use it as a portfolio. BGP design access control for load balancer ACL, calico DNS, SSL, SSO, etc. Load balancing is also more complicated than expected when using Kubernetes on-premise. It's a good choice if you're an engineer who wants to learn Kubernetes. Otherwise, just use a solution like Cloud EKS. Of course, experts will have to design it as a hybrid, but Kubernetes is difficult to learn and there are many things to learn. Especially when it comes to on-premise, the number increases.
@twoleftfeet90
@twoleftfeet90 Жыл бұрын
What about nomad for home labs? Anyone using that?
@christianlempa
@christianlempa Жыл бұрын
Still on my backlog and I can't find the time to do it :D
@Larkc
@Larkc Жыл бұрын
Getting started with kubernetes is easy. Finishing is the hard part.
@christianlempa
@christianlempa Жыл бұрын
True :D
@DanielBrzanov
@DanielBrzanov Жыл бұрын
No Mastodon account? 🤔
@christianlempa
@christianlempa Жыл бұрын
No, I don't like these platforms :/
@tcurdt
@tcurdt Жыл бұрын
The overhead (even of k3s) is just absurd - at least for a homelab.
@soubinan
@soubinan Жыл бұрын
If you want containers + a good and simple, efficient and reliable orchestrator.. Keep an eye on NOMAD, really ;)
@christianlempa
@christianlempa Жыл бұрын
Thanks! At some day, I need to :)
Жыл бұрын
Maybe future year...for now docker is for me.
@christianlempa
@christianlempa Жыл бұрын
Go for it next year :D
@pazuso
@pazuso Жыл бұрын
Kubernetes is the ultimate spaghetti. Setting it up from scratch on Ubuntu servers is wild! With the work involved, might as well watch physical servers with your eyeballs and enter adhoc commands to manually do failover and load balancing lol for real I hate it
@benoitheylens4802
@benoitheylens4802 9 ай бұрын
Fabrizio
@jfbeam
@jfbeam Жыл бұрын
The word you're looking for is "bloated". Kubernetes is quite bloated, and overly complex. I've built several k8s's. I'm pissed every time by the pure amount of crap that's running before it's even to the point I can put _my_ containers on it. In a homelab, unless you need to learn k8s, there's very little reason to step in that mess. I'd say vmware is bloated, too. (modern vcenter certainly is) But the actual hypervisor (esxi) is very small, and really simple, but it's not a container platform.
@emilpeychev8714
@emilpeychev8714 Жыл бұрын
Yes, buddy kubectl all the way. You need to keep cursing at is at a consistant level, just for good measure. Especially in the beginning - lot's of moving parts.
@HaraldRingvold
@HaraldRingvold Жыл бұрын
HashiStack.
@berndeckenfels
@berndeckenfels Жыл бұрын
Remeber that Kubernetes does not protect the s3crets
@christianlempa
@christianlempa Жыл бұрын
Fair point, but it's easier to manage!
@ArifKamaruzaman
@ArifKamaruzaman Жыл бұрын
Wah, i'm the 2nd comment here.
@CrazyMineCuber
@CrazyMineCuber Жыл бұрын
NixOS is the answer if you take the Nix pill.
@nixxblikka
@nixxblikka Жыл бұрын
ERSTER
What's the BEST home server operating system?
17:35
Christian Lempa
Рет қаралды 712 М.
Manage Docker and Kubernetes in VSCode
21:54
Christian Lempa
Рет қаралды 31 М.
«Жат бауыр» телехикаясы І 30 - бөлім | Соңғы бөлім
52:59
Qazaqstan TV / Қазақстан Ұлттық Арнасы
Рет қаралды 340 М.
🎈🎈🎈😲 #tiktok #shorts
0:28
Byungari 병아리언니
Рет қаралды 4,5 МЛН
24 Часа в БОУЛИНГЕ !
27:03
A4
Рет қаралды 7 МЛН
JISOO - ‘꽃(FLOWER)’ M/V
3:05
BLACKPINK
Рет қаралды 137 МЛН
18 Weird and Wonderful ways I use Docker
26:18
NetworkChuck
Рет қаралды 438 М.
Do NOT Learn Kubernetes Without Knowing These Concepts...
13:01
Travis Media
Рет қаралды 335 М.
You want a real Name Server at home? // DNS
32:31
Christian Lempa
Рет қаралды 283 М.
Some *EASY* Kubernetes Projects for beginners
14:40
Christian Lempa
Рет қаралды 33 М.
Kubernetes vs. Docker: It's Not an Either/Or Question
8:04
IBM Technology
Рет қаралды 1,1 МЛН
Using *HA* Kubernetes at home, was never so simple!
32:14
Christian Lempa
Рет қаралды 176 М.
Docker Networking Tutorial, ALL Network Types explained!
19:46
Christian Lempa
Рет қаралды 208 М.
Why I Use Kubernetes For My Homelab
20:57
Mischa van den Burg
Рет қаралды 5 М.
Learning Docker // Getting started!
35:56
Christian Lempa
Рет қаралды 114 М.
The Free and Open Source Software I Use in 2024 - Part 1
28:31
Awesome Open Source
Рет қаралды 330 М.
«Жат бауыр» телехикаясы І 30 - бөлім | Соңғы бөлім
52:59
Qazaqstan TV / Қазақстан Ұлттық Арнасы
Рет қаралды 340 М.