Raspberry pi cluster with Kubernetes

6th of January, 2018 in link

Raspberry pi cluster setup with Hypriot OS & Kubernetes

  1. Flash SD cards
    1. Flash tool
      1. Installation
  2. Sources

Flash SD cards

Flash tool

Installation

Github repo

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:

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