k3s_setup/README.md

18 lines
379 B
Markdown
Raw Normal View History

2019-12-18 13:20:52 +00:00
# bootstrap k3s cluster
2019-12-18 18:09:59 +00:00
## requirements
* 3 nodes, key-based SSH to root, empty sdb for gluster
2019-12-18 13:20:52 +00:00
## 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`