Added Vagrantfile for build environment with Vagrant (#14)

* Added .vagrant to ignore

* Added Vagrantfile

* Added section for Vagrant

* made retry_count customizeable (default 20)
This commit is contained in:
Philip Haberkern
2022-04-05 04:51:21 +02:00
committed by GitHub
parent 1310a1509d
commit 34624bc3f2
4 changed files with 89 additions and 1 deletions

View File

@@ -93,6 +93,13 @@ scp debian@master_ip:~/.kube/config ~/.kube/config
See the commands [here](https://docs.technotim.live/posts/k3s-etcd-ansible/#testing-your-cluster).
### Vagrant
You may want to kickstart your k3s cluster by using Vagrant to quickly build you all needed VMs with one command.
Head to the `vagrant` subfolder and type `vagrant up` to get your environment setup.
After the VMs have got build, deploy k3s using the Ansible playbook `site.yml` by the
`vagrant provision --provision-with ansible` command.
## Thanks 🤝
This repo is really standing on the shoulders of giants. To all those who have contributed.