Deploy a Production Ready Kubernetes Cluster on bare metal or raw VMs - This is a clone of https://github.com/kubernetes-sigs/kubespray.git with a kitten twist.
Find a file
Aleksandr Didenko c81457c617 Update README
2016-06-16 17:50:44 +02:00
.gitignore Fix ssh config 2016-06-16 14:28:29 +02:00
bootstrap-master.sh Fix ssh config 2016-06-16 14:28:29 +02:00
bootstrap-node.sh Added some packages to bootstrap script 2016-06-15 10:26:44 +02:00
custom.yaml Add support for deployment via kargo-cli 2016-06-16 11:49:17 +02:00
deploy-k8s.kargo.sh Start counting k8s nodes from 2 2016-06-16 14:42:53 +02:00
README.md Update README 2016-06-16 17:50:44 +02:00
ssh-keygen.sh Remove SSH keys and generate them instead 2016-06-16 12:29:33 +02:00
Vagrantfile Fix nodes list 2016-06-16 13:00:51 +02:00

vagrant-k8s

Scripts to create libvirt lab with vagrant and prepare some stuff for k8s deployment with kargo.

Requirements

  • libvirt
  • vagrant
  • vagrant-libvirt plugin
  • $USER should be able to connect to libvirt (test with virsh list --all)

How-to

  • Prepare the virtual lab:
export VAGRANT_POOL="10.100.0.0/16"
git clone https://github.com/adidenko/vagrant-k8s
cd vagrant-k8s
vagrant up
  • Login to master node and deploy k8s with kargo:
vagrant ssh $USER-k8s-01
# Inside your master VM run this:
sudo su -
./deploy-k8s.kargo.sh