Skip to content

Create Kubernetes HA cluster with vagrant and puppet

Notifications You must be signed in to change notification settings

oisis/puppet-kubernetes-ha

Repository files navigation

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

About

Create Kubernetes HA cluster with vagrant and puppet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published