Added README
This commit is contained in:
parent
cdfbcc1046
commit
3824493b1d
1 changed files with 31 additions and 0 deletions
31
README.md
Normal file
31
README.md
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
vagrant-k8s
|
||||||
|
===========
|
||||||
|
Scripts to create libvirt lab with vagrant and prepare some stuff for `k8s` deployment with `kargo`.
|
||||||
|
|
||||||
|
|
||||||
|
Requirements
|
||||||
|
============
|
||||||
|
|
||||||
|
* vagrant
|
||||||
|
* vagrant-libvirt plugin
|
||||||
|
|
||||||
|
How-to
|
||||||
|
======
|
||||||
|
|
||||||
|
* Prepare the virtual lab:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
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:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
vagrant ssh $USER-k8s-01
|
||||||
|
# Inside your master VM run this:
|
||||||
|
sudo su -
|
||||||
|
./deploy-k8s.kargo.sh
|
||||||
|
```
|
Loading…
Reference in a new issue