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.
Go to file
Aleksandr Didenko 4ca2931ae9 Add new virtual drive for /var/lib/docker
Otherwise 10G is not enough to host all the CCP images and it
leads to deployment failures.
2016-06-29 16:40:34 +02:00
ccp Replace sleep with wait loop 2016-06-29 14:21:34 +02:00
examples/kubernetes Updated readme in examples 2016-06-29 12:48:21 +02:00
playbooks Minor improvements in nodes list generation 2016-06-28 16:54:34 +02:00
vagrant-scripts Add new virtual drive for /var/lib/docker 2016-06-29 16:40:34 +02:00
.gitignore Fix ssh config 2016-06-16 14:28:29 +02:00
custom.yaml Fixes and improvements 2016-06-20 11:06:01 +02:00
deploy-ccp.sh Added CCP deployment scripts 2016-06-27 17:57:29 +02:00
deploy-k8s.kargo.sh Use ansible instead of kargo-cli to deploy k8s 2016-06-29 11:24:20 +02:00
README.md Added CCP deployment scripts 2016-06-27 17:57:29 +02:00
Vagrantfile Add new virtual drive for /var/lib/docker 2016-06-29 16:40:34 +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 (vagrant plugin install vagrant-libvirt)
  • $USER should be able to connect to libvirt (test with virsh list --all)

How-to

  • Change default IP pool for vagrant networks if you want:
export VAGRANT_POOL="10.100.0.0/16"
  • If you want to run OpenStack CCP (Containerised Control Plane) then you need to pull CCP repos and patches:
pushd ccp
./ccp-pull.sh
popd
  • Prepare the virtual lab:
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
  • In order to deploy OpenStack CCP login to your master node and run this:
vagrant ssh $USER-k8s-01
# Inside your master VM run this:
sudo su -
./deploy-ccp.sh