- Obtain enough hardware for the cluster, unbox, and setup
- 5 x Raspberry Pi 3 Model B
- 1 x 1ft ethernet cable, 6 pack
- 1 x Anker PowerPort 6 w/ cables
- 5 x Samsung 64GB MicroSDXC EVO Select Memory Card
- 1 x GeauxRobot Raspberry Pi 3 Model B 5-layer Dog Bone Stack Clear Case Box Enclosure
- 1 x Ubiquiti US-8 Unifi Switch
- 1 x AUKEY USB C Hub with SD/TF Card Reader
- 1 x Kubernetes: Up and Running: Dive into the Future of Infrastructure
- Set static IP addresses for each node via DHCP options
- Install ArchLinux Arm
- Install
openssh
andpython
on each node:pacman --noconfirm -Sy python openssh
- Configure each nodes hostname with
hostnamectl set-hostname nodeXX
- Copy your public SSH key to each node:
ssh-copy-id -o PasswordAuthentication=yes alarm@nodeXX
- Configure
ansible_hosts.yaml
with the correct IP address - Install
pipenv
and executepipenv install --two
- Verify connectivity with
pipenv run ansible all -m ping
- Bootstrap the cluster with
pipenv run ansible-playbook --ask-become-pass -vv playbooks/bootstrap_cluster.yaml
- Proceed with https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/