mkdir superUk8s
cd superUk8s
vagrant init ubuntu/xenial64
vagrant up --provider virtualbox
# now we are ready to login
vagrant ssh
sudo -i # we dont wanna write "sudo" each time here
#LEts update the new ubuntu
apt update && apt upgrade
The first step we have to do now is to install Docker
apt install docker.io -y
#Lets get now the kubernetes server file
wget https://dl.k8s.io/v1.20.0/kubernetes-server-linux-amd64.tar.gz
#unpack it
tar -xzf kubernetes-server-linux-amd64.tar.gz
#Go to the bin folder
cd kubernetes/server/bin
#Move the bins to the main bin directory to have straight access to them
mv kubectl kubelet kube-apiserver kube-controller-manager kube-scheduler kube-proxy /usr/bin/
#Remove the not needed tar file
cd
rm -rf kubernetes-server-linux-amd64.tar.gz
#and try
kubectl
#now we make a new directory for the manifest
mkdir -p /etc/kubernetes/manifest
#and make kublet avaible for the system