![]() ![]() ![]() I gave each machine a static IP address, you can do this in the networking settings GUI or using a tool like nmcli.įollow How to Configure Network Connection Using ‘nmcli’ Tool which worked on Ubuntu 22.04, I took the values for the default gateway from my existing connection. ![]() You could use WiFi, but wired is faster and more reliable for a cluster. This guide, How to Install Ubuntu 22.04 LTS Desktop is good, although note that you may not need to add a swap partition since the default Kubernetes installation will not use it. I installed a fresh Ubuntu 22.04 on all machines, using the standard USB installation method. Presumably there are similar shops in other countries. In Bristol, UK, there is a shop called Reuse who take stuff that people have thrown away at the dump and sell it for pennies.įor whatever reason, local companies throw away all sorts of perfectly good hardware, and I've been able to pick up a few reasonable machines on the cheap.Īre they reliable? Probably not, but running apps reliably on top of cheap, unreliable hardware is the whole point of Kubernetes. You can of course use Raspberry Pis, but I wanted something slightly more powerful, so I want to share the following "top tip". PreliminariesĪ cluster is, by definition, composed of multiple nodes. This is a guide on setting up a multi-node Kubernetes cluster using Kubeadm, on Ubuntu 22.04, as of March 2023. Therefore, in the spirit of building on the shoulders of giants I am contributing this short guide which connects a few existing guides and fills in some of the gaps! There are plenty of decent guides already out there, but I didn't find any that covered the whole process from start to finish. I wanted to write down the process I followed so that others are able to do the same. I spent a few hours setting up a cluster on some cheap hardware I picked up from a local reuse shop. Setting up a Home Kubernetes Cluster using Ubuntu 22.04 and Kubeadm ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |