andreariano / kubernetes-iaac

IaaC for Kubernetes cluster using vagrant and ansible

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kubernetes Vagrant + Ansible Provisioning

This is to provision CentOS Virtual Machines and setup a Kubernetes cluster using ansible. The created machines are

  1. Control VM with Ansible
  2. Kubernetes Master
  3. Kubernetes Node

It spins up 3 VMs in Virtual Box with the following configuration:

  • OS: CentOS 7
  • Memory: 2048
  • CPU: 2

Pre-Requisites

Installation

In order to execute the script run:

vagrant up

Removal

In order to remove all the 3 VMs created by vagrant run:

vagrant destroy -f

About

IaaC for Kubernetes cluster using vagrant and ansible