- Vagrant
- Virtualbox
cd k8s-cluster-kubeadm
vagrant up
vagrant ssh master
and execute the following command:
/vagrant/provision-scripts/setup-master.sh
Check the master node output looking for the following string:
kubeadm join --token <token> <master-ip>:<master-port> --discovery-token-ca-cert-hash sha256:<hash>
and, for each node, execute the following command:
/vagrant/provision-scripts/setup-node.sh <token> <hash>
Check the setup executing the following command in the master node:
kubectl get nodes