Skip to content

Combination of Vagrant and Ansible to spin up a Kubernetes cluster

License

Notifications You must be signed in to change notification settings

mdembiczak/vagrant-ansible-kubernetes

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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    control-plane,master   5m37s   v1.20.0
node-1       Ready    <none>                 3m38s   v1.20.0
node-2       Ready    <none>                 78s     v1.20.0

About

Combination of Vagrant and Ansible to spin up a Kubernetes cluster

Resources

License

Stars

Watchers

Forks

Packages

No packages published