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 8d8622bbb9 Switch to ansible-2.1 9 years ago
.gitignore Fix ssh config 9 years ago
README.md Update README 9 years ago
Vagrantfile Fix nodes list 9 years ago
bootstrap-master.sh Switch to ansible-2.1 9 years ago
bootstrap-node.sh Added some packages to bootstrap script 9 years ago
custom.yaml Add support for deployment via kargo-cli 9 years ago
deploy-k8s.kargo.sh Fix permissions and kargo custom.yaml 9 years ago
ssh-keygen.sh Remove SSH keys and generate them instead 9 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
  • $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