k3s_setup/README.md

18 lines
397 B
Markdown

# bootstrap k3s cluster
## requirements
* 3 nodes, key-based SSH to root, empty sdb for gluster
## init repository
local requirements: wireguard-tools, yq, jq, ansible
* adapt inventory.yaml (use external IPs!)
* run ./generate-keys.sh and ./generate-k3s-token.sh to generate your keys
* do NOT commit your wireguard keys to git, or use ansible-vault
## deploy
`ansible-playbook site.yaml`