Install Kubernetes on Ubuntu 24.4

I’ve been trying to install Kubernetes on Ubuntu for about a week and ran into every problem you can possibly imagine. What a fun way to learn. In all do fairness I have little experience with Kubernetes and most of the time I depend on Amazon EKS but this time I wanted to try it on-prem to learn all of the “behind the curtain stuff”. What I found is that there are hundreds of guides that will tell you how to do it and I’m sure they all worked with a little help BUT, the little help part is the fun. Here are the guides that I used for a successful install:

https://www.cherryservers.com/blog/install-kubernetes-on-ubuntu

https://phoenixnap.com/kb/install-kubernetes-on-ubuntu

The first guide was good except for the Kubernetes Install part. It kept erroring out. Use the second guide and follow steps 1-3. then go back to the first guide and continue after the Kubernetes install. Everything worked as expected after that. I did try using just the second guide but the cluster wouldnt initialize. Probably something I did. Let me know if you have a guide that works from start to finish on Ubuntu.

Scott