Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 1.15 KB

README.md

File metadata and controls

50 lines (35 loc) · 1.15 KB

Puppet for Kubernetes HA

Vagrant + Puppet manifests for Kubernetes HA.

Puppet modules, roles, and profiles

This repo works on a roles/profile architecture. Roles can be found in hieradata/roles and profiles are in modules/profiles.

Architecture:

  • 1x loadbalancer(Nginx)
  • 3x etcd server (cluster HA)
  • 2x Kubernetes master(Cluster HA)
  • 2x Kuberentes nodes

Hardware requirements for Vagrant:

  • around 4GB free RAM
  • 2-4 CPU cores
  • 20GB free HDD space

Prepare Vagrant box for virtualbox

Please use this description to do it.

Clone this repo:

git clone https://github.com/oisis/kubernetes-ha

cd /kubernetes-ha

Install puppet in your OS:

  • Debian: apt-get install puppet

  • Centos: yum -y install puppet

Install librarian-puppet:

gem install librarian-puppet

Install puppet modules

librarian-puppet install

Run Vagrant

vagrant up

Open Cockpit:

Open in webbrowser this url: http://192.168.0.10:9090/

login: root password: vagrant