Ansible Playbook to provision multi-master kubernetes cluster on Raspberry Pis
- Install Ansible or setup an Ansible node (see the section: Setup an Ansible Node on Ubuntu)
- Define your nodes in "hosts" file. They can be hostnames or IPs
- Make sure you have passwordless sudo on the nodes, and passwordless SSH to the nodes from the host where you run ansible
- Adjust settings in "roles/k8s/common/vars/main.yml"
- Run the following command:
ansible-playbook -v mooh.yml
- Profit