I know what your saying “This blog is called Azure for All, so why a Kubernetes article?”, well stay with me on this – all will become clear!
I've recently been conducting more and more technical reviews of the Azure Kubernetes Service (AKS), and one thing that has become clear is that due to AKS being a managed service, some knowledge of how Kubernetes hangs together is not always truly understood. So, I decided to write an article on how to create a K8s (Yep I’m not writing Kubernetes anymore) cluster on Hyper-V for testing and exam prep reasons.
Now, I know you can run Minikube or even Docker with K8s enabled, but let’s be honest here, its not a true production like environment is it? so with this post I am going to guide you through creating your own production like cluster. It may not have all the bells and whistles (we are only going to have one Master node at this point), but its going to give you a better insight into how a cluster should look.
I am also going to give you a few useful links below that I have used before, and still use as reference for AKS and native K8S.
For those of you who have looked at AKS and done your homework, you will know its nodes actually run Ubuntu 16.04 LTS not 126.96.36.199 LTS as we are going to build here, and we are going to install K8s version 1.17.1 again the default version for AKS, 1.13.12. However, remember we are not trying to replicate AKS here, just get a similar environment so we can understand the components.