Category: Kubernetes, Ubuntu, Docker

A quick read on how to set up a single control-plane Kubernetes setup with Kubeadm and Calico. I have used Ubuntu Server with the minimum configuration required as below: This could be a server on any cloud provider or VM.

Kubeadm is bootstrap script used to manage Kubernetes cluster for actions like create, destroy, join, upgrade, etc.This is to be run as root.

From the output of the above command, “kubeadm init”, we will now setup kube-config at ~/.kube/configand discover token.This is to be run as a regular user, here ubuntu.

Now, if you run kubectl get nodes , you will see the status of the master as “NotReady” because it is still waiting for a pod network.We will use Calico here.You will find more examples here.

Related Articles