To learn kubernetes, please follow learn guide at suashk/
- Working Vagrant setup
- 8 Gig + RAM workstation as the Vms use 3 vCPUS and 4+ GB RAM
To provision the cluster, execute the following commands.
git clone https://github.com/SuyashHashiCorp/vagrant-kubernetes.git
cd vagrant-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/
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