Setup Kubeadm with following steps.
-
Clone the repository to the freshly installed Ubuntu 20.04.
git clone https://github.com/wriaz/kubeadm.git -
Go to kubeadm directory and invoke
run.shscript.cd kubeadm ./run.sh
Script can take 5-10 minutes or more (based on your internet speed). Wait for the script to finish.
Single node Kuberentes installation with kubeadm is ready.
Validate your setup by running following commands.
kubectl get nodes
kubectl -n kube-system get pods