Tanguy Herbron
6f57f55b97
Ansible inventory can now be static with static IPs provisioned by Vangard. The documentation has also been updated to include how the configuration of the ingress node can be node from any VPS provider. |
||
---|---|---|
ansible@920407620d | ||
inventory | ||
.gitignore | ||
.gitmodules | ||
Makefile | ||
README.md | ||
Vagrantfile |
Homelab
Dependencies
- Vagrant
- ansible
- vagrant-scp
Setup
For ingress node connected to the internet, I recommend using a VPS of either choice, acting as the public input to the cluster.
To do so, complete the IP in the inventory/outsider.yml
file.
This VPS needs to be pre-configured with this script.
Script
- Detect WSL or Linux
- Detect default network interface
- Inject network interface
- Gather IPs (vagrant ssh-config)
- Deploy Ansible playbook
- Download kubeconfig
- Ping cluster (kubectl get nodes)