Skip to content

Latest commit

 

History

History
 
 

3

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

vagrant-ansible-kubernetes

Combination of Vagrant and Ansible to spin up a Kubernetes cluster

Prerequisites

  • Vagrant
  • Ansible

Define amount of nodes

in Vagrantfile:

N = 2

Spin up cluster

$ vagrant up

Verify on master

$ vagrant ssh k8s-master
$ kubectl get nodes
NAME         STATUS     ROLES    AGE     VERSION
k8s-master   Ready      master   3m43s   v1.13.4
node-1       Ready      <none>   118s    v1.13.4
node-2       NotReady   <none>   13s     v1.13.4