2023-10-21 22:22:23 +00:00
|
|
|
# Homelab
|
|
|
|
|
2023-10-23 12:27:29 +00:00
|
|
|
## Dependencies
|
|
|
|
- Vagrant
|
|
|
|
- ansible
|
|
|
|
- vagrant-scp
|
2023-10-21 22:22:23 +00:00
|
|
|
|
2023-10-30 15:54:48 +00:00
|
|
|
## 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](https://git.halis.io/athens-school/ISO-repository/raw/branch/master/quick-installer.sh).
|
|
|
|
|
2023-10-21 22:22:23 +00:00
|
|
|
## 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)
|