You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Aleksandr Didenko 0c9826c60f Added kubedash external service to examples 8 years ago
examples/kubernetes Added kubedash external service to examples 8 years ago
playbooks New playbooks for k8s service and examples 8 years ago
.gitignore Fix ssh config 8 years ago
README.md Minor update in README 8 years ago
Vagrantfile New playbooks for k8s service and examples 8 years ago
bootstrap-master.sh New playbooks for k8s service and examples 8 years ago
bootstrap-node.sh Fix networks and add some debug tools 8 years ago
custom.yaml Fixes and improvements 8 years ago
deploy-k8s.kargo.sh New playbooks for k8s service and examples 8 years ago
ssh-keygen.sh Remove SSH keys and generate them instead 8 years ago

README.md

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"
  • 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