
Raspberry pi cluster with Kubernetes
6th of January, 2018
in link
Raspberry pi cluster setup with Hypriot OS & Kubernetes
Flash SD cards
Flash tool
Installation
1
2
3
curl -O https://raw.githubusercontent.com/hypriot/flash/master/$(uname -s)/flash
chmod +x flash
sudo mv flash /usr/local/bin/flash
The tool needs the (optional) following dependencies:
- curl: if you want to flash directly with an HTTP URL
- aws: if you want to flash directly from an AWS S3 bucket
- pv: to see a progress bar while flashing with the dd command
- unzip: to extract zip files.
- hdparm: to run the program
1
sudo pacman -S curl pv unzip hdparm
Download the cloud-init following configuration files :
1
2
wget https://github.com/hypriot/flash/raw/master/sample/no-uart-config.txt
wget https://github.com/hypriot/flash/raw/master/sample/wifi-user-data.yml
Copy them into a master folder, edit them if needed and then launch the flash command to flash the SD card:
1
flash --userdata master/wlan-user-data.yaml --bootconf master/no-uart-config.txt https://github.com/hypriot/image-builder-rpi/releases/download/v1.7.1/hypriotos-rpi-v1.7.1.img.zip
Sources
Setup Kubernetes on a Raspberry Pi Cluster easily the official way!
Graphic logo for Node.js software from github.com/kubernetes/kubernetes/tree/master/logo