-
Boot into Flatcar Linux ISO
-
Install Flatcar Linux
wget https://raw.githubusercontent.com/realliance/server-config/main/ignition.json
flatcar-install -d /dev/<disk> -i ignition.json
-
Reboot
-
(Optional) Setup python virtual environment
python3 -m venv ~/path/to/venv
source ~/path/to/venv/bin/activate
- Install requirements
pip3 install -r kubespray/requirements.txt
- (Optional) Install and setup mitogen
ansible-playbook kubespray/mitogen.yml
- Run kubespray
ansible-playbook -i kubespray-inventory/hosts.yaml --become --become-user=root kubespray/cluster.yml
- Install flux from k8s-config
kubectl apply -k k8s-config/cluster/flux-system