For now its just a single master node and two workers with Docker and Calico network plugin. Intended for local development. Tested on mac with latest stable reqs. Modified versoin of the following kubernetes blog post https://kubernetes.io/blog/2019/03/15/kubernetes-setup-using-ansible-and-vagrant/.
- Install Virtual Box
- Install Vagrant
- Install Kubectl
- Install Ansible
brew install ansible
- vagrant up
source env.sh
kubectl get nodes
watch kubectl get pods --all-namespaces
source env.sh
kubectl proxy
- While kubectl proxy is running goto http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy
- Select token auth and paste in contents of file
cat admin_token
- vagrant halt
- vagrant up
- vagrant ssh