3 ms·
> Had a very good experience simulating K8s cluster with QEMU aka studing K8s hard way once I figure out how networking actually works between virtual machines
by TeeMassive 2y ago
> Had a very good experience simulating K8s cluster with QEMU aka studing K8s hard way once I figure out how networking actually works between virtual machines and domains can be assigned with external proxy.
This is an awesome use of QEMU! I'm both interested in learning K8s and what goes on under the hood at the kernel level because I do cloud connected IoT stuff, so I'll definitely use that!
Is there any kind of "build the kernel from scratch" project for that kind of stuff?
- adeptima 2y agoI was inspired by the article "Kubernetes The Hard Way" ... cant find the original article now Had to study concepts like "bridged networking with libvirt" https://linuxconfig.org/how-to-use-bridged-networking-with-libvirt-and-kvm https://linuxconfig.org/how-to-use-bridged-networking-with-l... No way I would recommend my way to study k8s ... it was just a pet project for a greater good. Now in 2024 it's better to start from projects like minikube or k3s (my preference) on local computer https://minikube.sigs.k8s.io/docs/ https://minikube.sigs.k8s.io/docs/ https://docs.k3s.io/ https://docs.k3s.io/ and later use terraform to provision infra or Forget it all and just use managed kubernets from cheaper providers like digital ocean The result of inflicting pain on myself - I do value the work done by people who provide stable managed kubernets and upgrade it flawlessly.