Combination of Vagrant and Ansible to spin up a Kubernetes cluster
- Vagrant
- Ansible
in Vagrantfile:
N = 2
$ vagrant up
$ vagrant ssh k8s-master
$ kubectl get nodes
NAME STATUS ROLES AGE VERSION
k8s-master Ready control-plane,master 10m v1.22.0
node-1 Ready <none> 7m22s v1.22.0
node-2 Ready <none> 4m37s v1.22.0