k8s-playground/setup/README.md

19 lines
560 B
Markdown
Raw Normal View History

2019-05-24 11:37:13 +00:00
# Setup up k8s cluster
2019-05-30 11:37:13 +00:00
currently only supports single controller, stacked etcd cluster with three to six worker nodes.
2019-05-24 11:37:13 +00:00
run:
2019-05-22 11:37:13 +00:00
* adapt IPs in inventory.yaml
2019-05-24 11:37:13 +00:00
* add host keys to your ssh config `./trust-hosts.sh`
2019-05-22 11:37:13 +00:00
* change wg encryption keys in host\_vars: `./generate-keys.sh`
* requires wireguard-tools, yq
* run play for the first time `ansible-playbook -i inventory.yaml -u root -t initial setup.yaml` - this will upgrade all packages and reboot the system
* run play again, without the tag
2019-05-24 11:37:13 +00:00
now you have an empty cluster with canal networking plugin