My Ansible playbooks for setting up a Kubernetes Raspberry Pi 3 cluster as described in my blog post
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
roles
tools
.gitignore
README.md
hosts.example
reboot.yml
setup.yml
user.yml

README.md

Ansible Playbook for Raspberry Pi Cluster Configuration

This repository contains all relevant ansible playbooks described in my blog article about how I set up a Raspberry Pi Kubernetes cluster.

Standard Cluster Configuration

ansible-playbook setup.yml --extra-vars "hosts=cluster" -u pi --ask-pass --ask-become-pass

Add Clusteruser on master

ansible-playbook user.yml --extra-vars "username=<username> password=<password> hosts=master" -u pi --ask-pass --ask-become-pass

Add user to nodes

ansible-playbook user.yml --extra-vars "username=<username> password=<password> copy-ssh=true hosts=nodes" -u <master_username> --ask-pass --ask-become-pass