How to install Kubernetes on Ubuntu 20.04 Focal Fossa Linux - LinuxConfig.org

Kubernetes is leading software in container orchestration. Kubernetes works by managing clusters, which is simply a set of hosts meant for running containerized applications. In order to have a Kubernetes cluster, you need a minimum of two nodes - a master node and a worker node. Of course, you can expand the cluster by adding as many worker nodes as you need.


This is a companion discussion topic for the original entry at https://linuxconfig.org/how-to-install-kubernetes-on-ubuntu-20-04-focal-fossa-linux

I ran through your guide one and things failed at the flannel section.

I found this: coreos dot com /flannel/docs/latest/kubernetes.html <- wont let me post link.

I had to reinstall ubuntu and run kubeadm with the cidr flag as per flannel’s instructions.

sudo kubeadm init --pod-network-cidr=10.244.0.0/16

Then everything worked perfect!