To provision the cluster, execute the following commands.
cd vagrant-kubeadm-kubernetes
vagrant up
cd vagrant-kubeadm-kubernetes
cd configs
export KUBECONFIG=$(PWD)/config
or you can copy the config file to .kube directory.
cp config ~/.kube/
http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/#/overview?namespace=kubernetes-dashboard
Vagrant up will create the admin user token and saves in the configs directory.
cd vagrant-kubeadm-kubernetes
cd configs
cat token
vagrant halt
vagrant up
vagrant destroy -f