Bootstrap small HA k3s cluster (external etcd, glusterfs, nodes networked with wireguard)
host_vars | ||
roles | ||
ansible.cfg | ||
inventory.yaml | ||
README.md | ||
site.yml |
bootstrap k3s cluster
init repository
local requirements: wireguard-tools, yq, jq, ansible
- adapt inventory.yaml (use external IPs!)
- run ./generate-keys.sh to generate your wireguard keys
- do NOT commit your wireguard keys to git, or use ansible-vault
deploy
ansible-playbook site.yaml